@roll-agent/protocol 0.10.0 → 0.12.0

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.
@@ -744,6 +744,29 @@
744
744
  "delta"
745
745
  ],
746
746
  "additionalProperties": false
747
+ },
748
+ {
749
+ "readOnly": true,
750
+ "type": "object",
751
+ "properties": {
752
+ "type": {
753
+ "type": "string",
754
+ "const": "reasoning.text.delta"
755
+ },
756
+ "reasoningId": {
757
+ "type": "string",
758
+ "minLength": 1
759
+ },
760
+ "delta": {
761
+ "type": "string"
762
+ }
763
+ },
764
+ "required": [
765
+ "type",
766
+ "reasoningId",
767
+ "delta"
768
+ ],
769
+ "additionalProperties": false
747
770
  }
748
771
  ]
749
772
  }
@@ -5483,6 +5506,25 @@
5483
5506
  ],
5484
5507
  "additionalProperties": false
5485
5508
  },
5509
+ "reasoningTextSubscribeParams": {
5510
+ "readOnly": true,
5511
+ "type": "object",
5512
+ "properties": {},
5513
+ "additionalProperties": false
5514
+ },
5515
+ "reasoningTextSubscribeResult": {
5516
+ "readOnly": true,
5517
+ "type": "object",
5518
+ "properties": {
5519
+ "subscribed": {
5520
+ "type": "boolean"
5521
+ }
5522
+ },
5523
+ "required": [
5524
+ "subscribed"
5525
+ ],
5526
+ "additionalProperties": false
5527
+ },
5486
5528
  "approvalPreviewParams": {
5487
5529
  "readOnly": true,
5488
5530
  "type": "object",
@@ -5557,6 +5599,415 @@
5557
5599
  ],
5558
5600
  "additionalProperties": false
5559
5601
  },
5602
+ "runtimeModelConfigGetParams": {
5603
+ "readOnly": true,
5604
+ "type": "object",
5605
+ "properties": {},
5606
+ "additionalProperties": false
5607
+ },
5608
+ "runtimeModelConfigGetResult": {
5609
+ "readOnly": true,
5610
+ "anyOf": [
5611
+ {
5612
+ "type": "object",
5613
+ "properties": {
5614
+ "revision": {
5615
+ "type": "integer",
5616
+ "minimum": 0,
5617
+ "maximum": 9007199254740991
5618
+ },
5619
+ "active": {
5620
+ "readOnly": true,
5621
+ "type": "object",
5622
+ "properties": {
5623
+ "provider": {
5624
+ "type": "string",
5625
+ "minLength": 1
5626
+ },
5627
+ "model": {
5628
+ "type": "string",
5629
+ "minLength": 1
5630
+ },
5631
+ "revision": {
5632
+ "type": "integer",
5633
+ "minimum": 0,
5634
+ "maximum": 9007199254740991
5635
+ },
5636
+ "reasoning": {
5637
+ "anyOf": [
5638
+ {
5639
+ "type": "string",
5640
+ "enum": [
5641
+ "summary",
5642
+ "text"
5643
+ ]
5644
+ },
5645
+ {
5646
+ "type": "null"
5647
+ }
5648
+ ]
5649
+ }
5650
+ },
5651
+ "required": [
5652
+ "provider",
5653
+ "model",
5654
+ "revision",
5655
+ "reasoning"
5656
+ ],
5657
+ "additionalProperties": false
5658
+ },
5659
+ "status": {
5660
+ "type": "string",
5661
+ "const": "applied"
5662
+ }
5663
+ },
5664
+ "required": [
5665
+ "revision",
5666
+ "active",
5667
+ "status"
5668
+ ],
5669
+ "additionalProperties": false
5670
+ },
5671
+ {
5672
+ "type": "object",
5673
+ "properties": {
5674
+ "revision": {
5675
+ "type": "integer",
5676
+ "minimum": 0,
5677
+ "maximum": 9007199254740991
5678
+ },
5679
+ "active": {
5680
+ "readOnly": true,
5681
+ "type": "object",
5682
+ "properties": {
5683
+ "provider": {
5684
+ "type": "string",
5685
+ "minLength": 1
5686
+ },
5687
+ "model": {
5688
+ "type": "string",
5689
+ "minLength": 1
5690
+ },
5691
+ "revision": {
5692
+ "type": "integer",
5693
+ "minimum": 0,
5694
+ "maximum": 9007199254740991
5695
+ },
5696
+ "reasoning": {
5697
+ "anyOf": [
5698
+ {
5699
+ "type": "string",
5700
+ "enum": [
5701
+ "summary",
5702
+ "text"
5703
+ ]
5704
+ },
5705
+ {
5706
+ "type": "null"
5707
+ }
5708
+ ]
5709
+ }
5710
+ },
5711
+ "required": [
5712
+ "provider",
5713
+ "model",
5714
+ "revision",
5715
+ "reasoning"
5716
+ ],
5717
+ "additionalProperties": false
5718
+ },
5719
+ "status": {
5720
+ "type": "string",
5721
+ "const": "pending"
5722
+ }
5723
+ },
5724
+ "required": [
5725
+ "revision",
5726
+ "active",
5727
+ "status"
5728
+ ],
5729
+ "additionalProperties": false
5730
+ },
5731
+ {
5732
+ "type": "object",
5733
+ "properties": {
5734
+ "revision": {
5735
+ "type": "integer",
5736
+ "minimum": 0,
5737
+ "maximum": 9007199254740991
5738
+ },
5739
+ "active": {
5740
+ "readOnly": true,
5741
+ "type": "object",
5742
+ "properties": {
5743
+ "provider": {
5744
+ "type": "string",
5745
+ "minLength": 1
5746
+ },
5747
+ "model": {
5748
+ "type": "string",
5749
+ "minLength": 1
5750
+ },
5751
+ "revision": {
5752
+ "type": "integer",
5753
+ "minimum": 0,
5754
+ "maximum": 9007199254740991
5755
+ },
5756
+ "reasoning": {
5757
+ "anyOf": [
5758
+ {
5759
+ "type": "string",
5760
+ "enum": [
5761
+ "summary",
5762
+ "text"
5763
+ ]
5764
+ },
5765
+ {
5766
+ "type": "null"
5767
+ }
5768
+ ]
5769
+ }
5770
+ },
5771
+ "required": [
5772
+ "provider",
5773
+ "model",
5774
+ "revision",
5775
+ "reasoning"
5776
+ ],
5777
+ "additionalProperties": false
5778
+ },
5779
+ "status": {
5780
+ "type": "string",
5781
+ "const": "failed"
5782
+ },
5783
+ "reason": {
5784
+ "type": "string",
5785
+ "enum": [
5786
+ "invalid-config",
5787
+ "restart-required",
5788
+ "apply-failed"
5789
+ ]
5790
+ }
5791
+ },
5792
+ "required": [
5793
+ "revision",
5794
+ "active",
5795
+ "status",
5796
+ "reason"
5797
+ ],
5798
+ "additionalProperties": false
5799
+ }
5800
+ ]
5801
+ },
5802
+ "runtimeModelConfigReloadParams": {
5803
+ "readOnly": true,
5804
+ "type": "object",
5805
+ "properties": {
5806
+ "requestId": {
5807
+ "type": "string",
5808
+ "format": "uuid",
5809
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
5810
+ }
5811
+ },
5812
+ "required": [
5813
+ "requestId"
5814
+ ],
5815
+ "additionalProperties": false
5816
+ },
5817
+ "runtimeModelConfigReloadResult": {
5818
+ "readOnly": true,
5819
+ "anyOf": [
5820
+ {
5821
+ "type": "object",
5822
+ "properties": {
5823
+ "revision": {
5824
+ "type": "integer",
5825
+ "minimum": 0,
5826
+ "maximum": 9007199254740991
5827
+ },
5828
+ "active": {
5829
+ "readOnly": true,
5830
+ "type": "object",
5831
+ "properties": {
5832
+ "provider": {
5833
+ "type": "string",
5834
+ "minLength": 1
5835
+ },
5836
+ "model": {
5837
+ "type": "string",
5838
+ "minLength": 1
5839
+ },
5840
+ "revision": {
5841
+ "type": "integer",
5842
+ "minimum": 0,
5843
+ "maximum": 9007199254740991
5844
+ },
5845
+ "reasoning": {
5846
+ "anyOf": [
5847
+ {
5848
+ "type": "string",
5849
+ "enum": [
5850
+ "summary",
5851
+ "text"
5852
+ ]
5853
+ },
5854
+ {
5855
+ "type": "null"
5856
+ }
5857
+ ]
5858
+ }
5859
+ },
5860
+ "required": [
5861
+ "provider",
5862
+ "model",
5863
+ "revision",
5864
+ "reasoning"
5865
+ ],
5866
+ "additionalProperties": false
5867
+ },
5868
+ "status": {
5869
+ "type": "string",
5870
+ "const": "applied"
5871
+ }
5872
+ },
5873
+ "required": [
5874
+ "revision",
5875
+ "active",
5876
+ "status"
5877
+ ],
5878
+ "additionalProperties": false
5879
+ },
5880
+ {
5881
+ "type": "object",
5882
+ "properties": {
5883
+ "revision": {
5884
+ "type": "integer",
5885
+ "minimum": 0,
5886
+ "maximum": 9007199254740991
5887
+ },
5888
+ "active": {
5889
+ "readOnly": true,
5890
+ "type": "object",
5891
+ "properties": {
5892
+ "provider": {
5893
+ "type": "string",
5894
+ "minLength": 1
5895
+ },
5896
+ "model": {
5897
+ "type": "string",
5898
+ "minLength": 1
5899
+ },
5900
+ "revision": {
5901
+ "type": "integer",
5902
+ "minimum": 0,
5903
+ "maximum": 9007199254740991
5904
+ },
5905
+ "reasoning": {
5906
+ "anyOf": [
5907
+ {
5908
+ "type": "string",
5909
+ "enum": [
5910
+ "summary",
5911
+ "text"
5912
+ ]
5913
+ },
5914
+ {
5915
+ "type": "null"
5916
+ }
5917
+ ]
5918
+ }
5919
+ },
5920
+ "required": [
5921
+ "provider",
5922
+ "model",
5923
+ "revision",
5924
+ "reasoning"
5925
+ ],
5926
+ "additionalProperties": false
5927
+ },
5928
+ "status": {
5929
+ "type": "string",
5930
+ "const": "pending"
5931
+ }
5932
+ },
5933
+ "required": [
5934
+ "revision",
5935
+ "active",
5936
+ "status"
5937
+ ],
5938
+ "additionalProperties": false
5939
+ },
5940
+ {
5941
+ "type": "object",
5942
+ "properties": {
5943
+ "revision": {
5944
+ "type": "integer",
5945
+ "minimum": 0,
5946
+ "maximum": 9007199254740991
5947
+ },
5948
+ "active": {
5949
+ "readOnly": true,
5950
+ "type": "object",
5951
+ "properties": {
5952
+ "provider": {
5953
+ "type": "string",
5954
+ "minLength": 1
5955
+ },
5956
+ "model": {
5957
+ "type": "string",
5958
+ "minLength": 1
5959
+ },
5960
+ "revision": {
5961
+ "type": "integer",
5962
+ "minimum": 0,
5963
+ "maximum": 9007199254740991
5964
+ },
5965
+ "reasoning": {
5966
+ "anyOf": [
5967
+ {
5968
+ "type": "string",
5969
+ "enum": [
5970
+ "summary",
5971
+ "text"
5972
+ ]
5973
+ },
5974
+ {
5975
+ "type": "null"
5976
+ }
5977
+ ]
5978
+ }
5979
+ },
5980
+ "required": [
5981
+ "provider",
5982
+ "model",
5983
+ "revision",
5984
+ "reasoning"
5985
+ ],
5986
+ "additionalProperties": false
5987
+ },
5988
+ "status": {
5989
+ "type": "string",
5990
+ "const": "failed"
5991
+ },
5992
+ "reason": {
5993
+ "type": "string",
5994
+ "enum": [
5995
+ "invalid-config",
5996
+ "restart-required",
5997
+ "apply-failed"
5998
+ ]
5999
+ }
6000
+ },
6001
+ "required": [
6002
+ "revision",
6003
+ "active",
6004
+ "status",
6005
+ "reason"
6006
+ ],
6007
+ "additionalProperties": false
6008
+ }
6009
+ ]
6010
+ },
5560
6011
  "approvalRequestParams": {
5561
6012
  "readOnly": true,
5562
6013
  "type": "object",
@@ -6602,6 +7053,30 @@
6602
7053
  ],
6603
7054
  "additionalProperties": false
6604
7055
  },
7056
+ "reasoningTextSubscribeRequest": {
7057
+ "type": "object",
7058
+ "properties": {
7059
+ "jsonrpc": {
7060
+ "const": "2.0"
7061
+ },
7062
+ "id": {
7063
+ "$ref": "#/$defs/jsonRpcId"
7064
+ },
7065
+ "method": {
7066
+ "const": "reasoning.text.subscribe"
7067
+ },
7068
+ "params": {
7069
+ "$ref": "#/$defs/reasoningTextSubscribeParams"
7070
+ }
7071
+ },
7072
+ "required": [
7073
+ "jsonrpc",
7074
+ "id",
7075
+ "method",
7076
+ "params"
7077
+ ],
7078
+ "additionalProperties": false
7079
+ },
6605
7080
  "approvalPreviewRequest": {
6606
7081
  "type": "object",
6607
7082
  "properties": {
@@ -6626,6 +7101,54 @@
6626
7101
  ],
6627
7102
  "additionalProperties": false
6628
7103
  },
7104
+ "runtimeModelConfigGetRequest": {
7105
+ "type": "object",
7106
+ "properties": {
7107
+ "jsonrpc": {
7108
+ "const": "2.0"
7109
+ },
7110
+ "id": {
7111
+ "$ref": "#/$defs/jsonRpcId"
7112
+ },
7113
+ "method": {
7114
+ "const": "runtime.modelConfig.get"
7115
+ },
7116
+ "params": {
7117
+ "$ref": "#/$defs/runtimeModelConfigGetParams"
7118
+ }
7119
+ },
7120
+ "required": [
7121
+ "jsonrpc",
7122
+ "id",
7123
+ "method",
7124
+ "params"
7125
+ ],
7126
+ "additionalProperties": false
7127
+ },
7128
+ "runtimeModelConfigReloadRequest": {
7129
+ "type": "object",
7130
+ "properties": {
7131
+ "jsonrpc": {
7132
+ "const": "2.0"
7133
+ },
7134
+ "id": {
7135
+ "$ref": "#/$defs/jsonRpcId"
7136
+ },
7137
+ "method": {
7138
+ "const": "runtime.modelConfig.reload"
7139
+ },
7140
+ "params": {
7141
+ "$ref": "#/$defs/runtimeModelConfigReloadParams"
7142
+ }
7143
+ },
7144
+ "required": [
7145
+ "jsonrpc",
7146
+ "id",
7147
+ "method",
7148
+ "params"
7149
+ ],
7150
+ "additionalProperties": false
7151
+ },
6629
7152
  "approvalRequestServerRequest": {
6630
7153
  "type": "object",
6631
7154
  "properties": {
@@ -6736,8 +7259,17 @@
6736
7259
  {
6737
7260
  "$ref": "#/$defs/operationResultGetRequest"
6738
7261
  },
7262
+ {
7263
+ "$ref": "#/$defs/reasoningTextSubscribeRequest"
7264
+ },
6739
7265
  {
6740
7266
  "$ref": "#/$defs/approvalPreviewRequest"
7267
+ },
7268
+ {
7269
+ "$ref": "#/$defs/runtimeModelConfigGetRequest"
7270
+ },
7271
+ {
7272
+ "$ref": "#/$defs/runtimeModelConfigReloadRequest"
6741
7273
  }
6742
7274
  ]
6743
7275
  },
@@ -6862,9 +7394,18 @@
6862
7394
  {
6863
7395
  "$ref": "#/$defs/operationResultGetResult"
6864
7396
  },
7397
+ {
7398
+ "$ref": "#/$defs/reasoningTextSubscribeResult"
7399
+ },
6865
7400
  {
6866
7401
  "$ref": "#/$defs/approvalPreviewResult"
6867
7402
  },
7403
+ {
7404
+ "$ref": "#/$defs/runtimeModelConfigGetResult"
7405
+ },
7406
+ {
7407
+ "$ref": "#/$defs/runtimeModelConfigReloadResult"
7408
+ },
6868
7409
  {
6869
7410
  "$ref": "#/$defs/approvalRequestResult"
6870
7411
  },
@@ -7147,6 +7688,17 @@
7147
7688
  "$ref": "#/$defs/operationResultGetRequest"
7148
7689
  }
7149
7690
  },
7691
+ "reasoning.text.subscribe": {
7692
+ "params": {
7693
+ "$ref": "#/$defs/reasoningTextSubscribeParams"
7694
+ },
7695
+ "result": {
7696
+ "$ref": "#/$defs/reasoningTextSubscribeResult"
7697
+ },
7698
+ "request": {
7699
+ "$ref": "#/$defs/reasoningTextSubscribeRequest"
7700
+ }
7701
+ },
7150
7702
  "approval.preview": {
7151
7703
  "params": {
7152
7704
  "$ref": "#/$defs/approvalPreviewParams"
@@ -7157,6 +7709,28 @@
7157
7709
  "request": {
7158
7710
  "$ref": "#/$defs/approvalPreviewRequest"
7159
7711
  }
7712
+ },
7713
+ "runtime.modelConfig.get": {
7714
+ "params": {
7715
+ "$ref": "#/$defs/runtimeModelConfigGetParams"
7716
+ },
7717
+ "result": {
7718
+ "$ref": "#/$defs/runtimeModelConfigGetResult"
7719
+ },
7720
+ "request": {
7721
+ "$ref": "#/$defs/runtimeModelConfigGetRequest"
7722
+ }
7723
+ },
7724
+ "runtime.modelConfig.reload": {
7725
+ "params": {
7726
+ "$ref": "#/$defs/runtimeModelConfigReloadParams"
7727
+ },
7728
+ "result": {
7729
+ "$ref": "#/$defs/runtimeModelConfigReloadResult"
7730
+ },
7731
+ "request": {
7732
+ "$ref": "#/$defs/runtimeModelConfigReloadRequest"
7733
+ }
7160
7734
  }
7161
7735
  },
7162
7736
  "x-roll-server-request-methods": {