@ai-matrx/desktop-protocol 0.17.11 → 0.17.13

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.
@@ -5005,6 +5005,10 @@
5005
5005
  "type": "string",
5006
5006
  "maxLength": 512
5007
5007
  },
5008
+ "name": {
5009
+ "type": "string",
5010
+ "maxLength": 256
5011
+ },
5008
5012
  "fs": {
5009
5013
  "type": "string",
5010
5014
  "maxLength": 64
@@ -5113,169 +5117,1187 @@
5113
5117
  "minimum": 0,
5114
5118
  "maximum": 9007199254740991
5115
5119
  },
5116
- "used_bytes": {
5117
- "type": "integer",
5118
- "minimum": 0,
5119
- "maximum": 9007199254740991
5120
+ "used_bytes": {
5121
+ "type": "integer",
5122
+ "minimum": 0,
5123
+ "maximum": 9007199254740991
5124
+ }
5125
+ },
5126
+ "required": [
5127
+ "total_bytes",
5128
+ "used_bytes"
5129
+ ],
5130
+ "additionalProperties": false
5131
+ },
5132
+ "disks": {
5133
+ "maxItems": 64,
5134
+ "type": "array",
5135
+ "items": {
5136
+ "$ref": "#/$defs/ResourcesDisk"
5137
+ }
5138
+ },
5139
+ "uptime_seconds": {
5140
+ "type": "integer",
5141
+ "minimum": 0,
5142
+ "maximum": 9007199254740991
5143
+ }
5144
+ },
5145
+ "required": [
5146
+ "cpu",
5147
+ "memory",
5148
+ "swap",
5149
+ "disks",
5150
+ "uptime_seconds"
5151
+ ],
5152
+ "additionalProperties": false
5153
+ },
5154
+ "ResourcesJobKind": {
5155
+ "type": "string",
5156
+ "enum": [
5157
+ "type-check",
5158
+ "tests",
5159
+ "build",
5160
+ "lint",
5161
+ "dev server",
5162
+ "language server",
5163
+ "search"
5164
+ ]
5165
+ },
5166
+ "ResourcesStrain": {
5167
+ "type": "string",
5168
+ "enum": [
5169
+ "good",
5170
+ "strain",
5171
+ "overloaded"
5172
+ ]
5173
+ },
5174
+ "ResourcesPressure": {
5175
+ "type": "string",
5176
+ "enum": [
5177
+ "normal",
5178
+ "warning",
5179
+ "critical"
5180
+ ]
5181
+ },
5182
+ "ResourcesVerdict": {
5183
+ "type": "object",
5184
+ "properties": {
5185
+ "level": {
5186
+ "$ref": "#/$defs/ResourcesStrain"
5187
+ },
5188
+ "text": {
5189
+ "type": "string",
5190
+ "maxLength": 256
5191
+ },
5192
+ "cause": {
5193
+ "anyOf": [
5194
+ {
5195
+ "type": "string",
5196
+ "maxLength": 1024
5197
+ },
5198
+ {
5199
+ "type": "null"
5200
+ }
5201
+ ]
5202
+ }
5203
+ },
5204
+ "required": [
5205
+ "level",
5206
+ "text",
5207
+ "cause"
5208
+ ],
5209
+ "additionalProperties": false
5210
+ },
5211
+ "ResourcesSample": {
5212
+ "type": "object",
5213
+ "properties": {
5214
+ "at_ms": {
5215
+ "type": "integer",
5216
+ "minimum": 0,
5217
+ "maximum": 9007199254740991
5218
+ },
5219
+ "load": {
5220
+ "type": "number",
5221
+ "minimum": 0
5222
+ },
5223
+ "memory_used_bytes": {
5224
+ "type": "integer",
5225
+ "minimum": 0,
5226
+ "maximum": 9007199254740991
5227
+ },
5228
+ "typechecks": {
5229
+ "type": "integer",
5230
+ "minimum": 0,
5231
+ "maximum": 9007199254740991
5232
+ }
5233
+ },
5234
+ "required": [
5235
+ "at_ms",
5236
+ "load",
5237
+ "memory_used_bytes",
5238
+ "typechecks"
5239
+ ],
5240
+ "additionalProperties": false
5241
+ },
5242
+ "ResourcesJob": {
5243
+ "type": "object",
5244
+ "properties": {
5245
+ "pid": {
5246
+ "type": "integer",
5247
+ "minimum": 0,
5248
+ "maximum": 9007199254740991
5249
+ },
5250
+ "kind": {
5251
+ "$ref": "#/$defs/ResourcesJobKind"
5252
+ },
5253
+ "command": {
5254
+ "type": "string",
5255
+ "maxLength": 256
5256
+ },
5257
+ "started_by": {
5258
+ "anyOf": [
5259
+ {
5260
+ "type": "string",
5261
+ "maxLength": 64
5262
+ },
5263
+ {
5264
+ "type": "null"
5265
+ }
5266
+ ]
5267
+ },
5268
+ "orphan": {
5269
+ "type": "boolean"
5270
+ },
5271
+ "waiting": {
5272
+ "type": "boolean"
5273
+ },
5274
+ "folder": {
5275
+ "anyOf": [
5276
+ {
5277
+ "type": "string",
5278
+ "maxLength": 256
5279
+ },
5280
+ {
5281
+ "type": "null"
5282
+ }
5283
+ ]
5284
+ },
5285
+ "duplicates": {
5286
+ "type": "integer",
5287
+ "minimum": 1,
5288
+ "maximum": 9007199254740991
5289
+ },
5290
+ "processes": {
5291
+ "type": "integer",
5292
+ "minimum": 1,
5293
+ "maximum": 9007199254740991
5294
+ },
5295
+ "cpu_percent": {
5296
+ "type": "number",
5297
+ "minimum": 0
5298
+ },
5299
+ "memory_bytes": {
5300
+ "type": "integer",
5301
+ "minimum": 0,
5302
+ "maximum": 9007199254740991
5303
+ },
5304
+ "started_at_ms": {
5305
+ "anyOf": [
5306
+ {
5307
+ "type": "integer",
5308
+ "minimum": 0,
5309
+ "maximum": 9007199254740991
5310
+ },
5311
+ {
5312
+ "type": "null"
5313
+ }
5314
+ ]
5315
+ },
5316
+ "stoppable": {
5317
+ "type": "boolean"
5318
+ }
5319
+ },
5320
+ "required": [
5321
+ "pid",
5322
+ "kind",
5323
+ "command",
5324
+ "started_by",
5325
+ "orphan",
5326
+ "waiting",
5327
+ "folder",
5328
+ "duplicates",
5329
+ "processes",
5330
+ "cpu_percent",
5331
+ "memory_bytes",
5332
+ "started_at_ms",
5333
+ "stoppable"
5334
+ ],
5335
+ "additionalProperties": false
5336
+ },
5337
+ "ResourcesProcess": {
5338
+ "type": "object",
5339
+ "properties": {
5340
+ "pid": {
5341
+ "type": "integer",
5342
+ "minimum": 0,
5343
+ "maximum": 9007199254740991
5344
+ },
5345
+ "name": {
5346
+ "type": "string",
5347
+ "maxLength": 256
5348
+ },
5349
+ "cpu_percent": {
5350
+ "type": "number",
5351
+ "minimum": 0
5352
+ },
5353
+ "memory_bytes": {
5354
+ "type": "integer",
5355
+ "minimum": 0,
5356
+ "maximum": 9007199254740991
5357
+ },
5358
+ "started_by": {
5359
+ "anyOf": [
5360
+ {
5361
+ "type": "string",
5362
+ "maxLength": 64
5363
+ },
5364
+ {
5365
+ "type": "null"
5366
+ }
5367
+ ]
5368
+ },
5369
+ "job": {
5370
+ "anyOf": [
5371
+ {
5372
+ "type": "string",
5373
+ "maxLength": 256
5374
+ },
5375
+ {
5376
+ "type": "null"
5377
+ }
5378
+ ]
5379
+ },
5380
+ "started_at_ms": {
5381
+ "anyOf": [
5382
+ {
5383
+ "type": "integer",
5384
+ "minimum": 0,
5385
+ "maximum": 9007199254740991
5386
+ },
5387
+ {
5388
+ "type": "null"
5389
+ }
5390
+ ]
5391
+ }
5392
+ },
5393
+ "required": [
5394
+ "pid",
5395
+ "name",
5396
+ "cpu_percent",
5397
+ "memory_bytes",
5398
+ "started_by",
5399
+ "job",
5400
+ "started_at_ms"
5401
+ ],
5402
+ "additionalProperties": false
5403
+ },
5404
+ "ResourcesActivityParams": {
5405
+ "type": "object",
5406
+ "properties": {},
5407
+ "additionalProperties": false
5408
+ },
5409
+ "ResourcesActivityResult": {
5410
+ "type": "object",
5411
+ "properties": {
5412
+ "ready": {
5413
+ "type": "boolean"
5414
+ },
5415
+ "sampled_at_ms": {
5416
+ "anyOf": [
5417
+ {
5418
+ "type": "integer",
5419
+ "minimum": 0,
5420
+ "maximum": 9007199254740991
5421
+ },
5422
+ {
5423
+ "type": "null"
5424
+ }
5425
+ ]
5426
+ },
5427
+ "cores": {
5428
+ "type": "integer",
5429
+ "minimum": 1,
5430
+ "maximum": 9007199254740991
5431
+ },
5432
+ "load": {
5433
+ "minItems": 3,
5434
+ "maxItems": 3,
5435
+ "type": "array",
5436
+ "items": {
5437
+ "type": "number",
5438
+ "minimum": 0
5439
+ }
5440
+ },
5441
+ "memory": {
5442
+ "type": "object",
5443
+ "properties": {
5444
+ "total_bytes": {
5445
+ "type": "integer",
5446
+ "minimum": 0,
5447
+ "maximum": 9007199254740991
5448
+ },
5449
+ "used_bytes": {
5450
+ "type": "integer",
5451
+ "minimum": 0,
5452
+ "maximum": 9007199254740991
5453
+ },
5454
+ "compressed_bytes": {
5455
+ "type": "integer",
5456
+ "minimum": 0,
5457
+ "maximum": 9007199254740991
5458
+ },
5459
+ "compressor_bytes": {
5460
+ "type": "integer",
5461
+ "minimum": 0,
5462
+ "maximum": 9007199254740991
5463
+ },
5464
+ "swap_used_bytes": {
5465
+ "type": "integer",
5466
+ "minimum": 0,
5467
+ "maximum": 9007199254740991
5468
+ },
5469
+ "pressure": {
5470
+ "anyOf": [
5471
+ {
5472
+ "$ref": "#/$defs/ResourcesPressure"
5473
+ },
5474
+ {
5475
+ "type": "null"
5476
+ }
5477
+ ]
5478
+ }
5479
+ },
5480
+ "required": [
5481
+ "total_bytes",
5482
+ "used_bytes",
5483
+ "compressed_bytes",
5484
+ "compressor_bytes",
5485
+ "swap_used_bytes",
5486
+ "pressure"
5487
+ ],
5488
+ "additionalProperties": false
5489
+ },
5490
+ "verdict": {
5491
+ "$ref": "#/$defs/ResourcesVerdict"
5492
+ },
5493
+ "typechecks": {
5494
+ "type": "object",
5495
+ "properties": {
5496
+ "running": {
5497
+ "type": "integer",
5498
+ "minimum": 0,
5499
+ "maximum": 9007199254740991
5500
+ },
5501
+ "waiting": {
5502
+ "type": "integer",
5503
+ "minimum": 0,
5504
+ "maximum": 9007199254740991
5505
+ },
5506
+ "comfort": {
5507
+ "type": "integer",
5508
+ "minimum": 0,
5509
+ "maximum": 9007199254740991
5510
+ }
5511
+ },
5512
+ "required": [
5513
+ "running",
5514
+ "waiting",
5515
+ "comfort"
5516
+ ],
5517
+ "additionalProperties": false
5518
+ },
5519
+ "jobs": {
5520
+ "maxItems": 200,
5521
+ "type": "array",
5522
+ "items": {
5523
+ "$ref": "#/$defs/ResourcesJob"
5524
+ }
5525
+ },
5526
+ "top": {
5527
+ "maxItems": 30,
5528
+ "type": "array",
5529
+ "items": {
5530
+ "$ref": "#/$defs/ResourcesProcess"
5531
+ }
5532
+ },
5533
+ "history": {
5534
+ "maxItems": 1200,
5535
+ "type": "array",
5536
+ "items": {
5537
+ "$ref": "#/$defs/ResourcesSample"
5538
+ }
5539
+ }
5540
+ },
5541
+ "required": [
5542
+ "ready",
5543
+ "sampled_at_ms",
5544
+ "cores",
5545
+ "load",
5546
+ "memory",
5547
+ "verdict",
5548
+ "typechecks",
5549
+ "jobs",
5550
+ "top",
5551
+ "history"
5552
+ ],
5553
+ "additionalProperties": false
5554
+ },
5555
+ "ResourcesStopJobParams": {
5556
+ "type": "object",
5557
+ "properties": {
5558
+ "pid": {
5559
+ "type": "integer",
5560
+ "minimum": 1,
5561
+ "maximum": 9007199254740991
5562
+ }
5563
+ },
5564
+ "required": [
5565
+ "pid"
5566
+ ],
5567
+ "additionalProperties": false
5568
+ },
5569
+ "ResourcesStopJobResult": {
5570
+ "type": "object",
5571
+ "properties": {
5572
+ "processes": {
5573
+ "type": "integer",
5574
+ "minimum": 0,
5575
+ "maximum": 9007199254740991
5576
+ },
5577
+ "already_finished": {
5578
+ "type": "boolean"
5579
+ }
5580
+ },
5581
+ "required": [
5582
+ "processes",
5583
+ "already_finished"
5584
+ ],
5585
+ "additionalProperties": false
5586
+ },
5587
+ "ResourcesIncident": {
5588
+ "type": "object",
5589
+ "properties": {
5590
+ "at_ms": {
5591
+ "type": "integer",
5592
+ "minimum": 0,
5593
+ "maximum": 9007199254740991
5594
+ },
5595
+ "verdict": {
5596
+ "$ref": "#/$defs/ResourcesVerdict"
5597
+ },
5598
+ "load": {
5599
+ "type": "number",
5600
+ "minimum": 0
5601
+ },
5602
+ "memory_used_bytes": {
5603
+ "type": "integer",
5604
+ "minimum": 0,
5605
+ "maximum": 9007199254740991
5606
+ },
5607
+ "compressed_bytes": {
5608
+ "type": "integer",
5609
+ "minimum": 0,
5610
+ "maximum": 9007199254740991
5611
+ },
5612
+ "pressure": {
5613
+ "anyOf": [
5614
+ {
5615
+ "$ref": "#/$defs/ResourcesPressure"
5616
+ },
5617
+ {
5618
+ "type": "null"
5619
+ }
5620
+ ]
5621
+ },
5622
+ "jobs": {
5623
+ "maxItems": 8,
5624
+ "type": "array",
5625
+ "items": {
5626
+ "type": "object",
5627
+ "properties": {
5628
+ "kind": {
5629
+ "$ref": "#/$defs/ResourcesJobKind"
5630
+ },
5631
+ "started_by": {
5632
+ "anyOf": [
5633
+ {
5634
+ "type": "string",
5635
+ "maxLength": 64
5636
+ },
5637
+ {
5638
+ "type": "null"
5639
+ }
5640
+ ]
5641
+ },
5642
+ "folder": {
5643
+ "anyOf": [
5644
+ {
5645
+ "type": "string",
5646
+ "maxLength": 256
5647
+ },
5648
+ {
5649
+ "type": "null"
5650
+ }
5651
+ ]
5652
+ },
5653
+ "command": {
5654
+ "type": "string",
5655
+ "maxLength": 256
5656
+ },
5657
+ "cpu_percent": {
5658
+ "type": "number",
5659
+ "minimum": 0
5660
+ },
5661
+ "memory_bytes": {
5662
+ "type": "integer",
5663
+ "minimum": 0,
5664
+ "maximum": 9007199254740991
5665
+ },
5666
+ "duplicates": {
5667
+ "type": "integer",
5668
+ "minimum": 1,
5669
+ "maximum": 9007199254740991
5670
+ }
5671
+ },
5672
+ "required": [
5673
+ "kind",
5674
+ "started_by",
5675
+ "folder",
5676
+ "command",
5677
+ "cpu_percent",
5678
+ "memory_bytes",
5679
+ "duplicates"
5680
+ ],
5681
+ "additionalProperties": false
5682
+ }
5683
+ }
5684
+ },
5685
+ "required": [
5686
+ "at_ms",
5687
+ "verdict",
5688
+ "load",
5689
+ "memory_used_bytes",
5690
+ "compressed_bytes",
5691
+ "pressure",
5692
+ "jobs"
5693
+ ],
5694
+ "additionalProperties": false
5695
+ },
5696
+ "ResourcesIncidentsParams": {
5697
+ "type": "object",
5698
+ "properties": {
5699
+ "limit": {
5700
+ "default": 50,
5701
+ "type": "integer",
5702
+ "minimum": 1,
5703
+ "maximum": 200
5704
+ }
5705
+ },
5706
+ "additionalProperties": false
5707
+ },
5708
+ "ResourcesIncidentsResult": {
5709
+ "type": "object",
5710
+ "properties": {
5711
+ "incidents": {
5712
+ "maxItems": 200,
5713
+ "type": "array",
5714
+ "items": {
5715
+ "$ref": "#/$defs/ResourcesIncident"
5716
+ }
5717
+ }
5718
+ },
5719
+ "required": [
5720
+ "incidents"
5721
+ ],
5722
+ "additionalProperties": false
5723
+ },
5724
+ "AudioDevice": {
5725
+ "type": "object",
5726
+ "properties": {
5727
+ "id": {
5728
+ "type": "string",
5729
+ "minLength": 1,
5730
+ "maxLength": 256
5731
+ },
5732
+ "name": {
5733
+ "type": "string",
5734
+ "maxLength": 256
5735
+ },
5736
+ "default": {
5737
+ "type": "boolean"
5738
+ }
5739
+ },
5740
+ "required": [
5741
+ "id",
5742
+ "name",
5743
+ "default"
5744
+ ],
5745
+ "additionalProperties": false
5746
+ },
5747
+ "AudioDevicesParams": {
5748
+ "type": "object",
5749
+ "properties": {},
5750
+ "additionalProperties": false
5751
+ },
5752
+ "AudioDevicesResult": {
5753
+ "type": "object",
5754
+ "properties": {
5755
+ "inputs": {
5756
+ "maxItems": 64,
5757
+ "type": "array",
5758
+ "items": {
5759
+ "$ref": "#/$defs/AudioDevice"
5760
+ }
5761
+ },
5762
+ "outputs": {
5763
+ "maxItems": 64,
5764
+ "type": "array",
5765
+ "items": {
5766
+ "$ref": "#/$defs/AudioDevice"
5767
+ }
5768
+ }
5769
+ },
5770
+ "required": [
5771
+ "inputs",
5772
+ "outputs"
5773
+ ],
5774
+ "additionalProperties": false
5775
+ },
5776
+ "AudioRecordParams": {
5777
+ "type": "object",
5778
+ "properties": {
5779
+ "seconds": {
5780
+ "type": "number",
5781
+ "minimum": 0.5,
5782
+ "maximum": 600
5783
+ },
5784
+ "device_id": {
5785
+ "type": "string",
5786
+ "minLength": 1,
5787
+ "maxLength": 256
5788
+ },
5789
+ "path": {
5790
+ "$ref": "#/$defs/AbsPath"
5791
+ }
5792
+ },
5793
+ "required": [
5794
+ "seconds"
5795
+ ],
5796
+ "additionalProperties": false
5797
+ },
5798
+ "AudioRecordResult": {
5799
+ "type": "object",
5800
+ "properties": {
5801
+ "path": {
5802
+ "$ref": "#/$defs/AbsPath"
5803
+ },
5804
+ "seconds": {
5805
+ "type": "number",
5806
+ "minimum": 0
5807
+ },
5808
+ "bytes": {
5809
+ "type": "integer",
5810
+ "minimum": 0,
5811
+ "maximum": 9007199254740991
5812
+ },
5813
+ "peak": {
5814
+ "type": "number",
5815
+ "minimum": 0,
5816
+ "maximum": 1
5817
+ }
5818
+ },
5819
+ "required": [
5820
+ "path",
5821
+ "seconds",
5822
+ "bytes",
5823
+ "peak"
5824
+ ],
5825
+ "additionalProperties": false
5826
+ },
5827
+ "AudioPlayParams": {
5828
+ "type": "object",
5829
+ "properties": {
5830
+ "path": {
5831
+ "$ref": "#/$defs/AbsPath"
5832
+ }
5833
+ },
5834
+ "required": [
5835
+ "path"
5836
+ ],
5837
+ "additionalProperties": false
5838
+ },
5839
+ "AudioPlayResult": {
5840
+ "type": "object",
5841
+ "properties": {
5842
+ "path": {
5843
+ "$ref": "#/$defs/AbsPath"
5844
+ },
5845
+ "seconds": {
5846
+ "type": "number",
5847
+ "minimum": 0
5848
+ }
5849
+ },
5850
+ "required": [
5851
+ "path",
5852
+ "seconds"
5853
+ ],
5854
+ "additionalProperties": false
5855
+ },
5856
+ "StackServerName": {
5857
+ "type": "string",
5858
+ "pattern": "^[a-z0-9_-]{1,64}$"
5859
+ },
5860
+ "StackTone": {
5861
+ "type": "string",
5862
+ "enum": [
5863
+ "good",
5864
+ "wait",
5865
+ "bad",
5866
+ "off"
5867
+ ]
5868
+ },
5869
+ "StackServer": {
5870
+ "type": "object",
5871
+ "properties": {
5872
+ "name": {
5873
+ "$ref": "#/$defs/StackServerName"
5874
+ },
5875
+ "label": {
5876
+ "type": "string",
5877
+ "maxLength": 32
5878
+ },
5879
+ "tone": {
5880
+ "$ref": "#/$defs/StackTone"
5881
+ },
5882
+ "sentence": {
5883
+ "type": "string",
5884
+ "maxLength": 2000
5885
+ },
5886
+ "description": {
5887
+ "type": "string",
5888
+ "maxLength": 512
5889
+ },
5890
+ "open_url": {
5891
+ "anyOf": [
5892
+ {
5893
+ "type": "string",
5894
+ "maxLength": 2048
5895
+ },
5896
+ {
5897
+ "type": "null"
5898
+ }
5899
+ ]
5900
+ },
5901
+ "log_file": {
5902
+ "type": "string",
5903
+ "maxLength": 4096
5904
+ },
5905
+ "last_output_at_ms": {
5906
+ "anyOf": [
5907
+ {
5908
+ "type": "integer",
5909
+ "minimum": 0,
5910
+ "maximum": 9007199254740991
5911
+ },
5912
+ {
5913
+ "type": "null"
5914
+ }
5915
+ ]
5916
+ },
5917
+ "started_at_ms": {
5918
+ "anyOf": [
5919
+ {
5920
+ "type": "integer",
5921
+ "minimum": 0,
5922
+ "maximum": 9007199254740991
5923
+ },
5924
+ {
5925
+ "type": "null"
5926
+ }
5927
+ ]
5928
+ },
5929
+ "restarts": {
5930
+ "type": "integer",
5931
+ "minimum": 0,
5932
+ "maximum": 9007199254740991
5933
+ },
5934
+ "exit_code": {
5935
+ "anyOf": [
5936
+ {
5937
+ "type": "integer",
5938
+ "minimum": -9007199254740991,
5939
+ "maximum": 9007199254740991
5940
+ },
5941
+ {
5942
+ "type": "null"
5943
+ }
5944
+ ]
5945
+ },
5946
+ "pid": {
5947
+ "anyOf": [
5948
+ {
5949
+ "type": "integer",
5950
+ "minimum": -9007199254740991,
5951
+ "maximum": 9007199254740991
5952
+ },
5953
+ {
5954
+ "type": "null"
5955
+ }
5956
+ ]
5957
+ }
5958
+ },
5959
+ "required": [
5960
+ "name",
5961
+ "label",
5962
+ "tone",
5963
+ "sentence",
5964
+ "description",
5965
+ "open_url",
5966
+ "log_file",
5967
+ "last_output_at_ms",
5968
+ "started_at_ms",
5969
+ "restarts",
5970
+ "exit_code",
5971
+ "pid"
5972
+ ],
5973
+ "additionalProperties": false
5974
+ },
5975
+ "StackEvent": {
5976
+ "type": "object",
5977
+ "properties": {
5978
+ "at_ms": {
5979
+ "type": "integer",
5980
+ "minimum": 0,
5981
+ "maximum": 9007199254740991
5982
+ },
5983
+ "server": {
5984
+ "type": "string",
5985
+ "maxLength": 64
5986
+ },
5987
+ "kind": {
5988
+ "type": "string",
5989
+ "maxLength": 32
5990
+ },
5991
+ "text": {
5992
+ "type": "string",
5993
+ "maxLength": 4000
5994
+ }
5995
+ },
5996
+ "required": [
5997
+ "at_ms",
5998
+ "server",
5999
+ "kind",
6000
+ "text"
6001
+ ],
6002
+ "additionalProperties": false
6003
+ },
6004
+ "StackStateParams": {
6005
+ "type": "object",
6006
+ "properties": {},
6007
+ "additionalProperties": false
6008
+ },
6009
+ "StackStateResult": {
6010
+ "type": "object",
6011
+ "properties": {
6012
+ "config_path": {
6013
+ "anyOf": [
6014
+ {
6015
+ "type": "string",
6016
+ "maxLength": 4096
6017
+ },
6018
+ {
6019
+ "type": "null"
6020
+ }
6021
+ ]
6022
+ },
6023
+ "problem": {
6024
+ "anyOf": [
6025
+ {
6026
+ "type": "string",
6027
+ "maxLength": 1000
6028
+ },
6029
+ {
6030
+ "type": "null"
6031
+ }
6032
+ ]
6033
+ },
6034
+ "stack_up": {
6035
+ "type": "boolean"
6036
+ },
6037
+ "stack_started_at_ms": {
6038
+ "anyOf": [
6039
+ {
6040
+ "type": "integer",
6041
+ "minimum": 0,
6042
+ "maximum": 9007199254740991
6043
+ },
6044
+ {
6045
+ "type": "null"
6046
+ }
6047
+ ]
6048
+ },
6049
+ "servers": {
6050
+ "maxItems": 64,
6051
+ "type": "array",
6052
+ "items": {
6053
+ "$ref": "#/$defs/StackServer"
6054
+ }
6055
+ },
6056
+ "setup_note": {
6057
+ "anyOf": [
6058
+ {
6059
+ "type": "string",
6060
+ "maxLength": 500
6061
+ },
6062
+ {
6063
+ "type": "null"
6064
+ }
6065
+ ]
6066
+ },
6067
+ "pending": {
6068
+ "anyOf": [
6069
+ {
6070
+ "type": "object",
6071
+ "properties": {
6072
+ "verb": {
6073
+ "type": "string",
6074
+ "enum": [
6075
+ "start",
6076
+ "stop"
6077
+ ]
6078
+ },
6079
+ "label": {
6080
+ "type": "string",
6081
+ "maxLength": 64
6082
+ },
6083
+ "since_ms": {
6084
+ "type": "integer",
6085
+ "minimum": 0,
6086
+ "maximum": 9007199254740991
6087
+ }
6088
+ },
6089
+ "required": [
6090
+ "verb",
6091
+ "label",
6092
+ "since_ms"
6093
+ ],
6094
+ "additionalProperties": false
6095
+ },
6096
+ {
6097
+ "type": "null"
5120
6098
  }
5121
- },
5122
- "required": [
5123
- "total_bytes",
5124
- "used_bytes"
5125
- ],
5126
- "additionalProperties": false
6099
+ ]
5127
6100
  },
5128
- "disks": {
5129
- "maxItems": 64,
6101
+ "events": {
6102
+ "maxItems": 300,
5130
6103
  "type": "array",
5131
6104
  "items": {
5132
- "$ref": "#/$defs/ResourcesDisk"
6105
+ "$ref": "#/$defs/StackEvent"
5133
6106
  }
5134
- },
5135
- "uptime_seconds": {
5136
- "type": "integer",
5137
- "minimum": 0,
5138
- "maximum": 9007199254740991
5139
6107
  }
5140
6108
  },
5141
6109
  "required": [
5142
- "cpu",
5143
- "memory",
5144
- "swap",
5145
- "disks",
5146
- "uptime_seconds"
6110
+ "config_path",
6111
+ "problem",
6112
+ "stack_up",
6113
+ "stack_started_at_ms",
6114
+ "servers",
6115
+ "setup_note",
6116
+ "pending",
6117
+ "events"
5147
6118
  ],
5148
6119
  "additionalProperties": false
5149
6120
  },
5150
- "AudioDevice": {
6121
+ "StackStartParams": {
6122
+ "type": "object",
6123
+ "properties": {},
6124
+ "additionalProperties": false
6125
+ },
6126
+ "StackStopParams": {
6127
+ "type": "object",
6128
+ "properties": {},
6129
+ "additionalProperties": false
6130
+ },
6131
+ "StackRunResult": {
5151
6132
  "type": "object",
5152
6133
  "properties": {
5153
- "id": {
5154
- "type": "string",
5155
- "minLength": 1,
5156
- "maxLength": 256
5157
- },
5158
- "name": {
5159
- "type": "string",
5160
- "maxLength": 256
5161
- },
5162
- "default": {
6134
+ "accepted": {
5163
6135
  "type": "boolean"
5164
6136
  }
5165
6137
  },
5166
6138
  "required": [
5167
- "id",
5168
- "name",
5169
- "default"
6139
+ "accepted"
5170
6140
  ],
5171
6141
  "additionalProperties": false
5172
6142
  },
5173
- "AudioDevicesParams": {
5174
- "type": "object",
5175
- "properties": {},
5176
- "additionalProperties": false
5177
- },
5178
- "AudioDevicesResult": {
6143
+ "StackServerActionParams": {
5179
6144
  "type": "object",
5180
6145
  "properties": {
5181
- "inputs": {
5182
- "maxItems": 64,
5183
- "type": "array",
5184
- "items": {
5185
- "$ref": "#/$defs/AudioDevice"
5186
- }
6146
+ "name": {
6147
+ "$ref": "#/$defs/StackServerName"
5187
6148
  },
5188
- "outputs": {
5189
- "maxItems": 64,
5190
- "type": "array",
5191
- "items": {
5192
- "$ref": "#/$defs/AudioDevice"
5193
- }
6149
+ "verb": {
6150
+ "type": "string",
6151
+ "enum": [
6152
+ "start",
6153
+ "stop",
6154
+ "restart"
6155
+ ]
5194
6156
  }
5195
6157
  },
5196
6158
  "required": [
5197
- "inputs",
5198
- "outputs"
6159
+ "name",
6160
+ "verb"
5199
6161
  ],
5200
6162
  "additionalProperties": false
5201
6163
  },
5202
- "AudioRecordParams": {
6164
+ "StackServerActionResult": {
5203
6165
  "type": "object",
5204
6166
  "properties": {
5205
- "seconds": {
5206
- "type": "number",
5207
- "minimum": 0.5,
5208
- "maximum": 600
5209
- },
5210
- "device_id": {
6167
+ "message": {
5211
6168
  "type": "string",
5212
- "minLength": 1,
5213
- "maxLength": 256
5214
- },
5215
- "path": {
5216
- "$ref": "#/$defs/AbsPath"
6169
+ "maxLength": 1000
5217
6170
  }
5218
6171
  },
5219
6172
  "required": [
5220
- "seconds"
6173
+ "message"
5221
6174
  ],
5222
6175
  "additionalProperties": false
5223
6176
  },
5224
- "AudioRecordResult": {
6177
+ "StackLogsParams": {
5225
6178
  "type": "object",
5226
6179
  "properties": {
5227
- "path": {
5228
- "$ref": "#/$defs/AbsPath"
6180
+ "name": {
6181
+ "$ref": "#/$defs/StackServerName"
5229
6182
  },
5230
- "seconds": {
5231
- "type": "number",
5232
- "minimum": 0
6183
+ "lines": {
6184
+ "default": 2000,
6185
+ "type": "integer",
6186
+ "minimum": 1,
6187
+ "maximum": 200000
5233
6188
  },
5234
- "bytes": {
6189
+ "offset": {
5235
6190
  "type": "integer",
5236
6191
  "minimum": 0,
5237
6192
  "maximum": 9007199254740991
5238
6193
  },
5239
- "peak": {
5240
- "type": "number",
6194
+ "since": {
6195
+ "type": "integer",
5241
6196
  "minimum": 0,
5242
- "maximum": 1
6197
+ "maximum": 9007199254740991
6198
+ },
6199
+ "wait_ms": {
6200
+ "default": 0,
6201
+ "type": "integer",
6202
+ "minimum": 0,
6203
+ "maximum": 25000
5243
6204
  }
5244
6205
  },
5245
6206
  "required": [
5246
- "path",
5247
- "seconds",
5248
- "bytes",
5249
- "peak"
6207
+ "name"
5250
6208
  ],
5251
6209
  "additionalProperties": false
5252
6210
  },
5253
- "AudioPlayParams": {
6211
+ "StackLogsResult": {
5254
6212
  "type": "object",
5255
6213
  "properties": {
5256
- "path": {
5257
- "$ref": "#/$defs/AbsPath"
6214
+ "lines": {
6215
+ "maxItems": 200000,
6216
+ "type": "array",
6217
+ "items": {
6218
+ "type": "string",
6219
+ "maxLength": 65536
6220
+ }
6221
+ },
6222
+ "offset": {
6223
+ "type": "integer",
6224
+ "minimum": 0,
6225
+ "maximum": 9007199254740991
6226
+ },
6227
+ "since_valid": {
6228
+ "type": "boolean"
6229
+ },
6230
+ "reset": {
6231
+ "type": "boolean"
6232
+ },
6233
+ "log_file": {
6234
+ "type": "string",
6235
+ "maxLength": 4096
5258
6236
  }
5259
6237
  },
5260
6238
  "required": [
5261
- "path"
6239
+ "lines",
6240
+ "offset",
6241
+ "since_valid",
6242
+ "reset",
6243
+ "log_file"
5262
6244
  ],
5263
6245
  "additionalProperties": false
5264
6246
  },
5265
- "AudioPlayResult": {
6247
+ "StackErrorsParams": {
5266
6248
  "type": "object",
5267
6249
  "properties": {
5268
- "path": {
5269
- "$ref": "#/$defs/AbsPath"
6250
+ "window_minutes": {
6251
+ "default": 60,
6252
+ "type": "integer",
6253
+ "minimum": 1,
6254
+ "maximum": 1440
6255
+ }
6256
+ },
6257
+ "additionalProperties": false
6258
+ },
6259
+ "StackErrorsResult": {
6260
+ "type": "object",
6261
+ "properties": {
6262
+ "sections": {
6263
+ "maxItems": 64,
6264
+ "type": "array",
6265
+ "items": {
6266
+ "type": "object",
6267
+ "properties": {
6268
+ "name": {
6269
+ "$ref": "#/$defs/StackServerName"
6270
+ },
6271
+ "heading": {
6272
+ "type": "string",
6273
+ "maxLength": 4096
6274
+ },
6275
+ "lines": {
6276
+ "maxItems": 5000,
6277
+ "type": "array",
6278
+ "items": {
6279
+ "type": "string",
6280
+ "maxLength": 65536
6281
+ }
6282
+ }
6283
+ },
6284
+ "required": [
6285
+ "name",
6286
+ "heading",
6287
+ "lines"
6288
+ ],
6289
+ "additionalProperties": false
6290
+ }
5270
6291
  },
5271
- "seconds": {
5272
- "type": "number",
5273
- "minimum": 0
6292
+ "window_minutes": {
6293
+ "type": "integer",
6294
+ "minimum": 1,
6295
+ "maximum": 1440
5274
6296
  }
5275
6297
  },
5276
6298
  "required": [
5277
- "path",
5278
- "seconds"
6299
+ "sections",
6300
+ "window_minutes"
5279
6301
  ],
5280
6302
  "additionalProperties": false
5281
6303
  },
@@ -9420,6 +10442,38 @@
9420
10442
  "INTERNAL"
9421
10443
  ]
9422
10444
  },
10445
+ "resources.activity": {
10446
+ "params": "ResourcesActivityParams",
10447
+ "result": "ResourcesActivityResult",
10448
+ "kind": "unary",
10449
+ "since": "1.17",
10450
+ "errors": [
10451
+ "PLATFORM_UNSUPPORTED",
10452
+ "INTERNAL"
10453
+ ]
10454
+ },
10455
+ "resources.stop_job": {
10456
+ "params": "ResourcesStopJobParams",
10457
+ "result": "ResourcesStopJobResult",
10458
+ "kind": "unary",
10459
+ "since": "1.17",
10460
+ "errors": [
10461
+ "NOT_FOUND",
10462
+ "CONFLICT",
10463
+ "AUTH_FORBIDDEN",
10464
+ "PLATFORM_UNSUPPORTED",
10465
+ "INTERNAL"
10466
+ ]
10467
+ },
10468
+ "resources.incidents": {
10469
+ "params": "ResourcesIncidentsParams",
10470
+ "result": "ResourcesIncidentsResult",
10471
+ "kind": "unary",
10472
+ "since": "1.17",
10473
+ "errors": [
10474
+ "INTERNAL"
10475
+ ]
10476
+ },
9423
10477
  "audio.devices": {
9424
10478
  "params": "AudioDevicesParams",
9425
10479
  "result": "AudioDevicesResult",
@@ -9455,6 +10509,67 @@
9455
10509
  "INTERNAL"
9456
10510
  ]
9457
10511
  },
10512
+ "stack.state": {
10513
+ "params": "StackStateParams",
10514
+ "result": "StackStateResult",
10515
+ "kind": "unary",
10516
+ "since": "1.16",
10517
+ "errors": [
10518
+ "INTERNAL"
10519
+ ]
10520
+ },
10521
+ "stack.start": {
10522
+ "params": "StackStartParams",
10523
+ "result": "StackRunResult",
10524
+ "kind": "unary",
10525
+ "since": "1.16",
10526
+ "errors": [
10527
+ "RESOURCE_BUSY",
10528
+ "PLATFORM_UNSUPPORTED",
10529
+ "INTERNAL"
10530
+ ]
10531
+ },
10532
+ "stack.stop": {
10533
+ "params": "StackStopParams",
10534
+ "result": "StackRunResult",
10535
+ "kind": "unary",
10536
+ "since": "1.16",
10537
+ "errors": [
10538
+ "RESOURCE_BUSY",
10539
+ "PLATFORM_UNSUPPORTED",
10540
+ "INTERNAL"
10541
+ ]
10542
+ },
10543
+ "stack.server.action": {
10544
+ "params": "StackServerActionParams",
10545
+ "result": "StackServerActionResult",
10546
+ "kind": "unary",
10547
+ "since": "1.16",
10548
+ "errors": [
10549
+ "NOT_FOUND",
10550
+ "CONFLICT",
10551
+ "INTERNAL"
10552
+ ]
10553
+ },
10554
+ "stack.logs": {
10555
+ "params": "StackLogsParams",
10556
+ "result": "StackLogsResult",
10557
+ "kind": "unary",
10558
+ "since": "1.16",
10559
+ "errors": [
10560
+ "NOT_FOUND",
10561
+ "INTERNAL"
10562
+ ]
10563
+ },
10564
+ "stack.errors": {
10565
+ "params": "StackErrorsParams",
10566
+ "result": "StackErrorsResult",
10567
+ "kind": "unary",
10568
+ "since": "1.16",
10569
+ "errors": [
10570
+ "INTERNAL"
10571
+ ]
10572
+ },
9458
10573
  "coding.history.import_missing": {
9459
10574
  "params": "CodingHistoryImportMissingParams",
9460
10575
  "result": "CodingHistoryImportMissingResult",
@@ -9553,6 +10668,9 @@
9553
10668
  "AccountUsage": {
9554
10669
  "plan": "1.13",
9555
10670
  "credits": "1.13"
10671
+ },
10672
+ "ResourcesDisk": {
10673
+ "name": "1.17"
9556
10674
  }
9557
10675
  },
9558
10676
  "x-null-since": {
@@ -9561,5 +10679,5 @@
9561
10679
  "olderPeersGet": 0
9562
10680
  }
9563
10681
  },
9564
- "x-protocol-version": "1.15"
10682
+ "x-protocol-version": "1.17"
9565
10683
  }