@ai-matrx/desktop-protocol 0.21.2 → 0.21.4

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.
@@ -3328,7 +3328,8 @@
3328
3328
  "type": "string",
3329
3329
  "enum": [
3330
3330
  "ml",
3331
- "coding"
3331
+ "coding",
3332
+ "tools"
3332
3333
  ]
3333
3334
  },
3334
3335
  "ContractHash": {
@@ -9987,6 +9988,958 @@
9987
9988
  "app_key"
9988
9989
  ],
9989
9990
  "additionalProperties": false
9991
+ },
9992
+ "GitOutputResult": {
9993
+ "type": "object",
9994
+ "properties": {
9995
+ "output": {
9996
+ "type": "string",
9997
+ "maxLength": 262144
9998
+ },
9999
+ "truncated": {
10000
+ "type": "boolean"
10001
+ }
10002
+ },
10003
+ "required": [
10004
+ "output",
10005
+ "truncated"
10006
+ ],
10007
+ "additionalProperties": false
10008
+ },
10009
+ "GitStatusParams": {
10010
+ "type": "object",
10011
+ "properties": {
10012
+ "cwd": {
10013
+ "$ref": "#/$defs/AbsPath"
10014
+ }
10015
+ },
10016
+ "required": [
10017
+ "cwd"
10018
+ ],
10019
+ "additionalProperties": false
10020
+ },
10021
+ "GitStatusFile": {
10022
+ "type": "object",
10023
+ "properties": {
10024
+ "path": {
10025
+ "type": "string"
10026
+ },
10027
+ "index": {
10028
+ "type": "string",
10029
+ "minLength": 1,
10030
+ "maxLength": 1
10031
+ },
10032
+ "worktree": {
10033
+ "type": "string",
10034
+ "minLength": 1,
10035
+ "maxLength": 1
10036
+ }
10037
+ },
10038
+ "required": [
10039
+ "path",
10040
+ "index",
10041
+ "worktree"
10042
+ ],
10043
+ "additionalProperties": false
10044
+ },
10045
+ "GitStatusResult": {
10046
+ "type": "object",
10047
+ "properties": {
10048
+ "branch": {
10049
+ "type": [
10050
+ "string",
10051
+ "null"
10052
+ ]
10053
+ },
10054
+ "upstream": {
10055
+ "type": [
10056
+ "string",
10057
+ "null"
10058
+ ]
10059
+ },
10060
+ "ahead": {
10061
+ "type": "integer",
10062
+ "minimum": 0,
10063
+ "maximum": 9007199254740991
10064
+ },
10065
+ "behind": {
10066
+ "type": "integer",
10067
+ "minimum": 0,
10068
+ "maximum": 9007199254740991
10069
+ },
10070
+ "files": {
10071
+ "maxItems": 5000,
10072
+ "type": "array",
10073
+ "items": {
10074
+ "$ref": "#/$defs/GitStatusFile"
10075
+ }
10076
+ },
10077
+ "clean": {
10078
+ "type": "boolean"
10079
+ },
10080
+ "truncated": {
10081
+ "type": "boolean"
10082
+ }
10083
+ },
10084
+ "required": [
10085
+ "branch",
10086
+ "upstream",
10087
+ "ahead",
10088
+ "behind",
10089
+ "files",
10090
+ "clean",
10091
+ "truncated"
10092
+ ],
10093
+ "additionalProperties": false
10094
+ },
10095
+ "GitDiffParams": {
10096
+ "type": "object",
10097
+ "properties": {
10098
+ "cwd": {
10099
+ "$ref": "#/$defs/AbsPath"
10100
+ },
10101
+ "path": {
10102
+ "type": "string",
10103
+ "maxLength": 4096
10104
+ },
10105
+ "staged": {
10106
+ "default": false,
10107
+ "type": "boolean"
10108
+ }
10109
+ },
10110
+ "required": [
10111
+ "cwd"
10112
+ ],
10113
+ "additionalProperties": false
10114
+ },
10115
+ "GitDiffResult": {
10116
+ "type": "object",
10117
+ "properties": {
10118
+ "diff": {
10119
+ "type": "string",
10120
+ "maxLength": 262144
10121
+ },
10122
+ "truncated": {
10123
+ "type": "boolean"
10124
+ }
10125
+ },
10126
+ "required": [
10127
+ "diff",
10128
+ "truncated"
10129
+ ],
10130
+ "additionalProperties": false
10131
+ },
10132
+ "GitLogParams": {
10133
+ "type": "object",
10134
+ "properties": {
10135
+ "cwd": {
10136
+ "$ref": "#/$defs/AbsPath"
10137
+ },
10138
+ "limit": {
10139
+ "default": 50,
10140
+ "type": "integer",
10141
+ "minimum": 1,
10142
+ "maximum": 500
10143
+ }
10144
+ },
10145
+ "required": [
10146
+ "cwd"
10147
+ ],
10148
+ "additionalProperties": false
10149
+ },
10150
+ "GitLogCommit": {
10151
+ "type": "object",
10152
+ "properties": {
10153
+ "sha": {
10154
+ "type": "string"
10155
+ },
10156
+ "short": {
10157
+ "type": "string"
10158
+ },
10159
+ "author": {
10160
+ "type": "string"
10161
+ },
10162
+ "date": {
10163
+ "type": "string"
10164
+ },
10165
+ "subject": {
10166
+ "type": "string"
10167
+ }
10168
+ },
10169
+ "required": [
10170
+ "sha",
10171
+ "short",
10172
+ "author",
10173
+ "date",
10174
+ "subject"
10175
+ ],
10176
+ "additionalProperties": false
10177
+ },
10178
+ "GitLogResult": {
10179
+ "type": "object",
10180
+ "properties": {
10181
+ "commits": {
10182
+ "maxItems": 500,
10183
+ "type": "array",
10184
+ "items": {
10185
+ "$ref": "#/$defs/GitLogCommit"
10186
+ }
10187
+ }
10188
+ },
10189
+ "required": [
10190
+ "commits"
10191
+ ],
10192
+ "additionalProperties": false
10193
+ },
10194
+ "GitAddParams": {
10195
+ "type": "object",
10196
+ "properties": {
10197
+ "cwd": {
10198
+ "$ref": "#/$defs/AbsPath"
10199
+ },
10200
+ "paths": {
10201
+ "minItems": 1,
10202
+ "maxItems": 1000,
10203
+ "type": "array",
10204
+ "items": {
10205
+ "type": "string",
10206
+ "minLength": 1,
10207
+ "maxLength": 4096
10208
+ }
10209
+ }
10210
+ },
10211
+ "required": [
10212
+ "cwd",
10213
+ "paths"
10214
+ ],
10215
+ "additionalProperties": false
10216
+ },
10217
+ "GitCommitParams": {
10218
+ "type": "object",
10219
+ "properties": {
10220
+ "cwd": {
10221
+ "$ref": "#/$defs/AbsPath"
10222
+ },
10223
+ "message": {
10224
+ "type": "string",
10225
+ "minLength": 1,
10226
+ "maxLength": 65536
10227
+ },
10228
+ "amend": {
10229
+ "default": false,
10230
+ "type": "boolean"
10231
+ },
10232
+ "author": {
10233
+ "type": "string",
10234
+ "maxLength": 512
10235
+ }
10236
+ },
10237
+ "required": [
10238
+ "cwd",
10239
+ "message"
10240
+ ],
10241
+ "additionalProperties": false
10242
+ },
10243
+ "GitCommitResult": {
10244
+ "type": "object",
10245
+ "properties": {
10246
+ "sha": {
10247
+ "type": "string"
10248
+ },
10249
+ "output": {
10250
+ "type": "string",
10251
+ "maxLength": 262144
10252
+ },
10253
+ "truncated": {
10254
+ "type": "boolean"
10255
+ }
10256
+ },
10257
+ "required": [
10258
+ "sha",
10259
+ "output",
10260
+ "truncated"
10261
+ ],
10262
+ "additionalProperties": false
10263
+ },
10264
+ "GitPushParams": {
10265
+ "type": "object",
10266
+ "properties": {
10267
+ "cwd": {
10268
+ "$ref": "#/$defs/AbsPath"
10269
+ },
10270
+ "remote": {
10271
+ "default": "origin",
10272
+ "type": "string",
10273
+ "minLength": 1,
10274
+ "maxLength": 255,
10275
+ "pattern": "^[^-\\s][^\\s]*$"
10276
+ },
10277
+ "branch": {
10278
+ "type": "string",
10279
+ "minLength": 1,
10280
+ "maxLength": 255,
10281
+ "pattern": "^[^-\\s][^\\s]*$"
10282
+ },
10283
+ "force_with_lease": {
10284
+ "default": false,
10285
+ "type": "boolean"
10286
+ }
10287
+ },
10288
+ "required": [
10289
+ "cwd"
10290
+ ],
10291
+ "additionalProperties": false
10292
+ },
10293
+ "GitPullParams": {
10294
+ "type": "object",
10295
+ "properties": {
10296
+ "cwd": {
10297
+ "$ref": "#/$defs/AbsPath"
10298
+ },
10299
+ "remote": {
10300
+ "default": "origin",
10301
+ "type": "string",
10302
+ "minLength": 1,
10303
+ "maxLength": 255,
10304
+ "pattern": "^[^-\\s][^\\s]*$"
10305
+ },
10306
+ "branch": {
10307
+ "type": "string",
10308
+ "minLength": 1,
10309
+ "maxLength": 255,
10310
+ "pattern": "^[^-\\s][^\\s]*$"
10311
+ },
10312
+ "rebase": {
10313
+ "default": false,
10314
+ "type": "boolean"
10315
+ }
10316
+ },
10317
+ "required": [
10318
+ "cwd"
10319
+ ],
10320
+ "additionalProperties": false
10321
+ },
10322
+ "GitBranchParams": {
10323
+ "type": "object",
10324
+ "properties": {
10325
+ "cwd": {
10326
+ "$ref": "#/$defs/AbsPath"
10327
+ },
10328
+ "action": {
10329
+ "type": "string",
10330
+ "enum": [
10331
+ "list",
10332
+ "create",
10333
+ "delete",
10334
+ "switch"
10335
+ ]
10336
+ },
10337
+ "name": {
10338
+ "type": "string",
10339
+ "minLength": 1,
10340
+ "maxLength": 255,
10341
+ "pattern": "^[^-\\s][^\\s]*$"
10342
+ }
10343
+ },
10344
+ "required": [
10345
+ "cwd",
10346
+ "action"
10347
+ ],
10348
+ "additionalProperties": false
10349
+ },
10350
+ "GitBranchResult": {
10351
+ "type": "object",
10352
+ "properties": {
10353
+ "current": {
10354
+ "type": [
10355
+ "string",
10356
+ "null"
10357
+ ]
10358
+ },
10359
+ "branches": {
10360
+ "maxItems": 5000,
10361
+ "type": "array",
10362
+ "items": {
10363
+ "type": "string"
10364
+ }
10365
+ },
10366
+ "output": {
10367
+ "type": "string",
10368
+ "maxLength": 262144
10369
+ },
10370
+ "truncated": {
10371
+ "type": "boolean"
10372
+ }
10373
+ },
10374
+ "required": [
10375
+ "current",
10376
+ "branches",
10377
+ "output",
10378
+ "truncated"
10379
+ ],
10380
+ "additionalProperties": false
10381
+ },
10382
+ "GitStashParams": {
10383
+ "type": "object",
10384
+ "properties": {
10385
+ "cwd": {
10386
+ "$ref": "#/$defs/AbsPath"
10387
+ },
10388
+ "action": {
10389
+ "type": "string",
10390
+ "enum": [
10391
+ "push",
10392
+ "pop",
10393
+ "list",
10394
+ "drop"
10395
+ ]
10396
+ },
10397
+ "message": {
10398
+ "type": "string",
10399
+ "maxLength": 4096
10400
+ }
10401
+ },
10402
+ "required": [
10403
+ "cwd",
10404
+ "action"
10405
+ ],
10406
+ "additionalProperties": false
10407
+ },
10408
+ "GitCloneParams": {
10409
+ "type": "object",
10410
+ "properties": {
10411
+ "url": {
10412
+ "type": "string",
10413
+ "minLength": 1,
10414
+ "maxLength": 4096,
10415
+ "pattern": "^[^-]"
10416
+ },
10417
+ "dest": {
10418
+ "$ref": "#/$defs/AbsPath"
10419
+ },
10420
+ "branch": {
10421
+ "type": "string",
10422
+ "minLength": 1,
10423
+ "maxLength": 255,
10424
+ "pattern": "^[^-\\s][^\\s]*$"
10425
+ },
10426
+ "depth": {
10427
+ "type": "integer",
10428
+ "minimum": 1,
10429
+ "maximum": 1000000
10430
+ }
10431
+ },
10432
+ "required": [
10433
+ "url",
10434
+ "dest"
10435
+ ],
10436
+ "additionalProperties": false
10437
+ },
10438
+ "WebHeader": {
10439
+ "type": "object",
10440
+ "properties": {
10441
+ "name": {
10442
+ "type": "string",
10443
+ "minLength": 1,
10444
+ "maxLength": 256
10445
+ },
10446
+ "value": {
10447
+ "type": "string",
10448
+ "maxLength": 8192
10449
+ }
10450
+ },
10451
+ "required": [
10452
+ "name",
10453
+ "value"
10454
+ ],
10455
+ "additionalProperties": false
10456
+ },
10457
+ "WebFetchParams": {
10458
+ "type": "object",
10459
+ "properties": {
10460
+ "url": {
10461
+ "type": "string",
10462
+ "minLength": 1,
10463
+ "maxLength": 8192,
10464
+ "pattern": "^https?:\\/\\/"
10465
+ },
10466
+ "method": {
10467
+ "default": "GET",
10468
+ "type": "string",
10469
+ "enum": [
10470
+ "GET",
10471
+ "POST",
10472
+ "PUT",
10473
+ "PATCH",
10474
+ "DELETE",
10475
+ "HEAD",
10476
+ "OPTIONS"
10477
+ ]
10478
+ },
10479
+ "headers": {
10480
+ "default": [],
10481
+ "maxItems": 64,
10482
+ "type": "array",
10483
+ "items": {
10484
+ "$ref": "#/$defs/WebHeader"
10485
+ }
10486
+ },
10487
+ "body": {
10488
+ "type": "string",
10489
+ "maxLength": 1048576
10490
+ },
10491
+ "follow_redirects": {
10492
+ "default": true,
10493
+ "type": "boolean"
10494
+ },
10495
+ "timeout_s": {
10496
+ "default": 30,
10497
+ "type": "integer",
10498
+ "minimum": 1,
10499
+ "maximum": 300
10500
+ }
10501
+ },
10502
+ "required": [
10503
+ "url"
10504
+ ],
10505
+ "additionalProperties": false
10506
+ },
10507
+ "WebFetchResult": {
10508
+ "type": "object",
10509
+ "properties": {
10510
+ "status": {
10511
+ "type": "integer",
10512
+ "minimum": 100,
10513
+ "maximum": 999
10514
+ },
10515
+ "reason": {
10516
+ "type": "string"
10517
+ },
10518
+ "url": {
10519
+ "type": "string"
10520
+ },
10521
+ "content_type": {
10522
+ "type": [
10523
+ "string",
10524
+ "null"
10525
+ ]
10526
+ },
10527
+ "headers": {
10528
+ "type": "array",
10529
+ "items": {
10530
+ "$ref": "#/$defs/WebHeader"
10531
+ }
10532
+ },
10533
+ "body": {
10534
+ "type": "string",
10535
+ "maxLength": 524288
10536
+ },
10537
+ "truncated": {
10538
+ "type": "boolean"
10539
+ },
10540
+ "bytes": {
10541
+ "type": "integer",
10542
+ "minimum": 0,
10543
+ "maximum": 9007199254740991
10544
+ },
10545
+ "elapsed_ms": {
10546
+ "type": "integer",
10547
+ "minimum": 0,
10548
+ "maximum": 9007199254740991
10549
+ }
10550
+ },
10551
+ "required": [
10552
+ "status",
10553
+ "reason",
10554
+ "url",
10555
+ "content_type",
10556
+ "headers",
10557
+ "body",
10558
+ "truncated",
10559
+ "bytes",
10560
+ "elapsed_ms"
10561
+ ],
10562
+ "additionalProperties": false
10563
+ },
10564
+ "WebScrapeParams": {
10565
+ "type": "object",
10566
+ "properties": {
10567
+ "urls": {
10568
+ "minItems": 1,
10569
+ "maxItems": 20,
10570
+ "type": "array",
10571
+ "items": {
10572
+ "type": "string",
10573
+ "minLength": 1,
10574
+ "maxLength": 8192,
10575
+ "pattern": "^https?:\\/\\/"
10576
+ }
10577
+ },
10578
+ "use_cache": {
10579
+ "default": true,
10580
+ "type": "boolean"
10581
+ },
10582
+ "get_links": {
10583
+ "default": false,
10584
+ "type": "boolean"
10585
+ }
10586
+ },
10587
+ "required": [
10588
+ "urls"
10589
+ ],
10590
+ "additionalProperties": false
10591
+ },
10592
+ "WebScrapePage": {
10593
+ "type": "object",
10594
+ "properties": {
10595
+ "url": {
10596
+ "type": "string"
10597
+ },
10598
+ "ok": {
10599
+ "type": "boolean"
10600
+ },
10601
+ "status": {
10602
+ "anyOf": [
10603
+ {
10604
+ "type": "integer",
10605
+ "minimum": 0,
10606
+ "maximum": 999
10607
+ },
10608
+ {
10609
+ "type": "null"
10610
+ }
10611
+ ]
10612
+ },
10613
+ "title": {
10614
+ "type": [
10615
+ "string",
10616
+ "null"
10617
+ ]
10618
+ },
10619
+ "text": {
10620
+ "type": "string",
10621
+ "maxLength": 524288
10622
+ },
10623
+ "truncated": {
10624
+ "type": "boolean"
10625
+ },
10626
+ "links": {
10627
+ "maxItems": 2000,
10628
+ "type": "array",
10629
+ "items": {
10630
+ "type": "string"
10631
+ }
10632
+ },
10633
+ "error": {
10634
+ "type": [
10635
+ "string",
10636
+ "null"
10637
+ ]
10638
+ },
10639
+ "via": {
10640
+ "type": [
10641
+ "string",
10642
+ "null"
10643
+ ]
10644
+ }
10645
+ },
10646
+ "required": [
10647
+ "url",
10648
+ "ok",
10649
+ "status",
10650
+ "title",
10651
+ "text",
10652
+ "truncated",
10653
+ "links",
10654
+ "error",
10655
+ "via"
10656
+ ],
10657
+ "additionalProperties": false
10658
+ },
10659
+ "WebScrapeResult": {
10660
+ "type": "object",
10661
+ "properties": {
10662
+ "pages": {
10663
+ "type": "array",
10664
+ "items": {
10665
+ "$ref": "#/$defs/WebScrapePage"
10666
+ }
10667
+ },
10668
+ "elapsed_ms": {
10669
+ "type": "integer",
10670
+ "minimum": 0,
10671
+ "maximum": 9007199254740991
10672
+ }
10673
+ },
10674
+ "required": [
10675
+ "pages",
10676
+ "elapsed_ms"
10677
+ ],
10678
+ "additionalProperties": false
10679
+ },
10680
+ "WebSearchParams": {
10681
+ "type": "object",
10682
+ "properties": {
10683
+ "keywords": {
10684
+ "minItems": 1,
10685
+ "maxItems": 5,
10686
+ "type": "array",
10687
+ "items": {
10688
+ "type": "string",
10689
+ "minLength": 1,
10690
+ "maxLength": 400
10691
+ }
10692
+ },
10693
+ "country": {
10694
+ "default": "us",
10695
+ "type": "string",
10696
+ "minLength": 2,
10697
+ "maxLength": 2
10698
+ },
10699
+ "count": {
10700
+ "default": 10,
10701
+ "type": "integer",
10702
+ "minimum": 1,
10703
+ "maximum": 20
10704
+ },
10705
+ "freshness": {
10706
+ "type": "string",
10707
+ "enum": [
10708
+ "pd",
10709
+ "pw",
10710
+ "pm",
10711
+ "py"
10712
+ ]
10713
+ }
10714
+ },
10715
+ "required": [
10716
+ "keywords"
10717
+ ],
10718
+ "additionalProperties": false
10719
+ },
10720
+ "WebSearchHit": {
10721
+ "type": "object",
10722
+ "properties": {
10723
+ "title": {
10724
+ "type": "string"
10725
+ },
10726
+ "url": {
10727
+ "type": "string"
10728
+ },
10729
+ "description": {
10730
+ "type": "string"
10731
+ }
10732
+ },
10733
+ "required": [
10734
+ "title",
10735
+ "url",
10736
+ "description"
10737
+ ],
10738
+ "additionalProperties": false
10739
+ },
10740
+ "WebSearchQueryResult": {
10741
+ "type": "object",
10742
+ "properties": {
10743
+ "keyword": {
10744
+ "type": "string"
10745
+ },
10746
+ "hits": {
10747
+ "type": "array",
10748
+ "items": {
10749
+ "$ref": "#/$defs/WebSearchHit"
10750
+ }
10751
+ },
10752
+ "error": {
10753
+ "type": [
10754
+ "string",
10755
+ "null"
10756
+ ]
10757
+ }
10758
+ },
10759
+ "required": [
10760
+ "keyword",
10761
+ "hits",
10762
+ "error"
10763
+ ],
10764
+ "additionalProperties": false
10765
+ },
10766
+ "WebSearchResult": {
10767
+ "type": "object",
10768
+ "properties": {
10769
+ "queries": {
10770
+ "type": "array",
10771
+ "items": {
10772
+ "$ref": "#/$defs/WebSearchQueryResult"
10773
+ }
10774
+ },
10775
+ "elapsed_ms": {
10776
+ "type": "integer",
10777
+ "minimum": 0,
10778
+ "maximum": 9007199254740991
10779
+ }
10780
+ },
10781
+ "required": [
10782
+ "queries",
10783
+ "elapsed_ms"
10784
+ ],
10785
+ "additionalProperties": false
10786
+ },
10787
+ "ToolsWebSearchParams": {
10788
+ "type": "object",
10789
+ "properties": {
10790
+ "keywords": {
10791
+ "minItems": 1,
10792
+ "maxItems": 5,
10793
+ "type": "array",
10794
+ "items": {
10795
+ "type": "string",
10796
+ "minLength": 1,
10797
+ "maxLength": 400
10798
+ }
10799
+ },
10800
+ "country": {
10801
+ "default": "us",
10802
+ "type": "string",
10803
+ "minLength": 2,
10804
+ "maxLength": 2
10805
+ },
10806
+ "count": {
10807
+ "default": 10,
10808
+ "type": "integer",
10809
+ "minimum": 1,
10810
+ "maximum": 20
10811
+ },
10812
+ "freshness": {
10813
+ "type": "string",
10814
+ "enum": [
10815
+ "pd",
10816
+ "pw",
10817
+ "pm",
10818
+ "py"
10819
+ ]
10820
+ },
10821
+ "brave_api_key": {
10822
+ "anyOf": [
10823
+ {
10824
+ "type": "string",
10825
+ "minLength": 1,
10826
+ "maxLength": 512
10827
+ },
10828
+ {
10829
+ "type": "null"
10830
+ }
10831
+ ]
10832
+ }
10833
+ },
10834
+ "required": [
10835
+ "keywords",
10836
+ "brave_api_key"
10837
+ ],
10838
+ "additionalProperties": false
10839
+ },
10840
+ "WebBrowserFetchParams": {
10841
+ "type": "object",
10842
+ "properties": {
10843
+ "url": {
10844
+ "type": "string",
10845
+ "minLength": 1,
10846
+ "maxLength": 8192,
10847
+ "pattern": "^https?:\\/\\/"
10848
+ },
10849
+ "wait_for": {
10850
+ "type": "string",
10851
+ "maxLength": 1024
10852
+ },
10853
+ "wait_timeout_ms": {
10854
+ "default": 30000,
10855
+ "type": "integer",
10856
+ "minimum": 100,
10857
+ "maximum": 120000
10858
+ },
10859
+ "extract_text": {
10860
+ "default": true,
10861
+ "type": "boolean"
10862
+ }
10863
+ },
10864
+ "required": [
10865
+ "url"
10866
+ ],
10867
+ "additionalProperties": false
10868
+ },
10869
+ "WebBrowserFetchResult": {
10870
+ "type": "object",
10871
+ "properties": {
10872
+ "url": {
10873
+ "type": "string"
10874
+ },
10875
+ "status": {
10876
+ "anyOf": [
10877
+ {
10878
+ "type": "integer",
10879
+ "minimum": 0,
10880
+ "maximum": 999
10881
+ },
10882
+ {
10883
+ "type": "null"
10884
+ }
10885
+ ]
10886
+ },
10887
+ "title": {
10888
+ "type": [
10889
+ "string",
10890
+ "null"
10891
+ ]
10892
+ },
10893
+ "content": {
10894
+ "type": "string",
10895
+ "maxLength": 524288
10896
+ },
10897
+ "truncated": {
10898
+ "type": "boolean"
10899
+ },
10900
+ "elapsed_ms": {
10901
+ "type": "integer",
10902
+ "minimum": 0,
10903
+ "maximum": 9007199254740991
10904
+ }
10905
+ },
10906
+ "required": [
10907
+ "url",
10908
+ "status",
10909
+ "title",
10910
+ "content",
10911
+ "truncated",
10912
+ "elapsed_ms"
10913
+ ],
10914
+ "additionalProperties": false
10915
+ },
10916
+ "ToolsServiceProgress": {
10917
+ "type": "object",
10918
+ "properties": {
10919
+ "phase": {
10920
+ "type": "string",
10921
+ "enum": [
10922
+ "fetching",
10923
+ "installing"
10924
+ ]
10925
+ },
10926
+ "done": {
10927
+ "type": "integer",
10928
+ "minimum": 0,
10929
+ "maximum": 9007199254740991
10930
+ },
10931
+ "total": {
10932
+ "type": "integer",
10933
+ "minimum": 0,
10934
+ "maximum": 9007199254740991
10935
+ }
10936
+ },
10937
+ "required": [
10938
+ "phase",
10939
+ "done",
10940
+ "total"
10941
+ ],
10942
+ "additionalProperties": false
9990
10943
  }
9991
10944
  },
9992
10945
  "x-ops": {
@@ -11198,6 +12151,198 @@
11198
12151
  "CANCELLED",
11199
12152
  "INTERNAL"
11200
12153
  ]
12154
+ },
12155
+ "git.status": {
12156
+ "params": "GitStatusParams",
12157
+ "result": "GitStatusResult",
12158
+ "kind": "unary",
12159
+ "since": "1.22",
12160
+ "errors": [
12161
+ "NOT_FOUND",
12162
+ "INVALID_PARAMS",
12163
+ "CONFLICT",
12164
+ "PLATFORM_UNSUPPORTED",
12165
+ "TIMEOUT",
12166
+ "INTERNAL"
12167
+ ]
12168
+ },
12169
+ "git.diff": {
12170
+ "params": "GitDiffParams",
12171
+ "result": "GitDiffResult",
12172
+ "kind": "unary",
12173
+ "since": "1.22",
12174
+ "errors": [
12175
+ "NOT_FOUND",
12176
+ "INVALID_PARAMS",
12177
+ "CONFLICT",
12178
+ "PLATFORM_UNSUPPORTED",
12179
+ "TIMEOUT",
12180
+ "INTERNAL"
12181
+ ]
12182
+ },
12183
+ "git.log": {
12184
+ "params": "GitLogParams",
12185
+ "result": "GitLogResult",
12186
+ "kind": "unary",
12187
+ "since": "1.22",
12188
+ "errors": [
12189
+ "NOT_FOUND",
12190
+ "INVALID_PARAMS",
12191
+ "CONFLICT",
12192
+ "PLATFORM_UNSUPPORTED",
12193
+ "TIMEOUT",
12194
+ "INTERNAL"
12195
+ ]
12196
+ },
12197
+ "git.add": {
12198
+ "params": "GitAddParams",
12199
+ "result": "GitOutputResult",
12200
+ "kind": "unary",
12201
+ "since": "1.22",
12202
+ "errors": [
12203
+ "NOT_FOUND",
12204
+ "INVALID_PARAMS",
12205
+ "CONFLICT",
12206
+ "PLATFORM_UNSUPPORTED",
12207
+ "TIMEOUT",
12208
+ "INTERNAL"
12209
+ ]
12210
+ },
12211
+ "git.commit": {
12212
+ "params": "GitCommitParams",
12213
+ "result": "GitCommitResult",
12214
+ "kind": "unary",
12215
+ "since": "1.22",
12216
+ "errors": [
12217
+ "NOT_FOUND",
12218
+ "INVALID_PARAMS",
12219
+ "CONFLICT",
12220
+ "PLATFORM_UNSUPPORTED",
12221
+ "TIMEOUT",
12222
+ "INTERNAL"
12223
+ ]
12224
+ },
12225
+ "git.push": {
12226
+ "params": "GitPushParams",
12227
+ "result": "GitOutputResult",
12228
+ "kind": "unary",
12229
+ "since": "1.22",
12230
+ "errors": [
12231
+ "NOT_FOUND",
12232
+ "INVALID_PARAMS",
12233
+ "CONFLICT",
12234
+ "PLATFORM_UNSUPPORTED",
12235
+ "TIMEOUT",
12236
+ "INTERNAL"
12237
+ ]
12238
+ },
12239
+ "git.pull": {
12240
+ "params": "GitPullParams",
12241
+ "result": "GitOutputResult",
12242
+ "kind": "unary",
12243
+ "since": "1.22",
12244
+ "errors": [
12245
+ "NOT_FOUND",
12246
+ "INVALID_PARAMS",
12247
+ "CONFLICT",
12248
+ "PLATFORM_UNSUPPORTED",
12249
+ "TIMEOUT",
12250
+ "INTERNAL"
12251
+ ]
12252
+ },
12253
+ "git.branch": {
12254
+ "params": "GitBranchParams",
12255
+ "result": "GitBranchResult",
12256
+ "kind": "unary",
12257
+ "since": "1.22",
12258
+ "errors": [
12259
+ "NOT_FOUND",
12260
+ "INVALID_PARAMS",
12261
+ "CONFLICT",
12262
+ "PLATFORM_UNSUPPORTED",
12263
+ "TIMEOUT",
12264
+ "INTERNAL"
12265
+ ]
12266
+ },
12267
+ "git.stash": {
12268
+ "params": "GitStashParams",
12269
+ "result": "GitOutputResult",
12270
+ "kind": "unary",
12271
+ "since": "1.22",
12272
+ "errors": [
12273
+ "NOT_FOUND",
12274
+ "INVALID_PARAMS",
12275
+ "CONFLICT",
12276
+ "PLATFORM_UNSUPPORTED",
12277
+ "TIMEOUT",
12278
+ "INTERNAL"
12279
+ ]
12280
+ },
12281
+ "git.clone": {
12282
+ "params": "GitCloneParams",
12283
+ "result": "GitOutputResult",
12284
+ "kind": "unary",
12285
+ "since": "1.22",
12286
+ "errors": [
12287
+ "NOT_FOUND",
12288
+ "INVALID_PARAMS",
12289
+ "CONFLICT",
12290
+ "PLATFORM_UNSUPPORTED",
12291
+ "TIMEOUT",
12292
+ "INTERNAL"
12293
+ ]
12294
+ },
12295
+ "web.fetch": {
12296
+ "params": "WebFetchParams",
12297
+ "result": "WebFetchResult",
12298
+ "kind": "unary",
12299
+ "since": "1.22",
12300
+ "errors": [
12301
+ "INVALID_PARAMS",
12302
+ "TIMEOUT",
12303
+ "RESOURCE_BUSY",
12304
+ "AUTH_REQUIRED",
12305
+ "INTERNAL"
12306
+ ]
12307
+ },
12308
+ "web.scrape": {
12309
+ "params": "WebScrapeParams",
12310
+ "result": "WebScrapeResult",
12311
+ "kind": "unary",
12312
+ "since": "1.22",
12313
+ "errors": [
12314
+ "INVALID_PARAMS",
12315
+ "TIMEOUT",
12316
+ "RESOURCE_BUSY",
12317
+ "AUTH_REQUIRED",
12318
+ "INTERNAL"
12319
+ ]
12320
+ },
12321
+ "web.search": {
12322
+ "params": "WebSearchParams",
12323
+ "result": "WebSearchResult",
12324
+ "kind": "unary",
12325
+ "since": "1.22",
12326
+ "errors": [
12327
+ "INVALID_PARAMS",
12328
+ "TIMEOUT",
12329
+ "RESOURCE_BUSY",
12330
+ "AUTH_REQUIRED",
12331
+ "INTERNAL"
12332
+ ]
12333
+ },
12334
+ "web.fetch_with_browser": {
12335
+ "params": "WebBrowserFetchParams",
12336
+ "result": "WebBrowserFetchResult",
12337
+ "kind": "unary",
12338
+ "since": "1.22",
12339
+ "errors": [
12340
+ "INVALID_PARAMS",
12341
+ "TIMEOUT",
12342
+ "RESOURCE_BUSY",
12343
+ "AUTH_REQUIRED",
12344
+ "INTERNAL"
12345
+ ]
11201
12346
  }
11202
12347
  },
11203
12348
  "x-events": {
@@ -11244,6 +12389,27 @@
11244
12389
  "result": "CodingHistoryStep"
11245
12390
  }
11246
12391
  }
12392
+ },
12393
+ "tools": {
12394
+ "progress": "ToolsServiceProgress",
12395
+ "ops": {
12396
+ "tools.web_fetch": {
12397
+ "params": "WebFetchParams",
12398
+ "result": "WebFetchResult"
12399
+ },
12400
+ "tools.web_scrape": {
12401
+ "params": "WebScrapeParams",
12402
+ "result": "WebScrapeResult"
12403
+ },
12404
+ "tools.web_search": {
12405
+ "params": "ToolsWebSearchParams",
12406
+ "result": "WebSearchResult"
12407
+ },
12408
+ "tools.web_browser_fetch": {
12409
+ "params": "WebBrowserFetchParams",
12410
+ "result": "WebBrowserFetchResult"
12411
+ }
12412
+ }
11247
12413
  }
11248
12414
  },
11249
12415
  "x-fields-since": {
@@ -11301,5 +12467,5 @@
11301
12467
  "olderPeersGet": 0
11302
12468
  }
11303
12469
  },
11304
- "x-protocol-version": "1.21"
12470
+ "x-protocol-version": "1.22"
11305
12471
  }