@superdoc/cli 0.45.0-next.1 → 0.45.0-next.10
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/index.js +118750 -111886
- package/dist/tools/catalog.json +164 -1
- package/dist/tools/tools.anthropic.json +164 -1
- package/dist/tools/tools.generic.json +164 -1
- package/dist/tools/tools.openai.json +164 -1
- package/dist/tools/tools.vercel.json +164 -1
- package/package.json +9 -9
package/dist/tools/catalog.json
CHANGED
|
@@ -9225,10 +9225,133 @@
|
|
|
9225
9225
|
"where",
|
|
9226
9226
|
"args"
|
|
9227
9227
|
]
|
|
9228
|
+
},
|
|
9229
|
+
{
|
|
9230
|
+
"type": "object",
|
|
9231
|
+
"properties": {
|
|
9232
|
+
"id": {
|
|
9233
|
+
"type": "string",
|
|
9234
|
+
"minLength": 1
|
|
9235
|
+
},
|
|
9236
|
+
"op": {
|
|
9237
|
+
"const": "comments.patch",
|
|
9238
|
+
"type": "string"
|
|
9239
|
+
},
|
|
9240
|
+
"args": {
|
|
9241
|
+
"type": "object",
|
|
9242
|
+
"properties": {
|
|
9243
|
+
"commentId": {
|
|
9244
|
+
"type": "string",
|
|
9245
|
+
"minLength": 1
|
|
9246
|
+
},
|
|
9247
|
+
"target": {
|
|
9248
|
+
"oneOf": [
|
|
9249
|
+
{
|
|
9250
|
+
"$ref": "#/$defs/TextAddress"
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
9254
|
+
}
|
|
9255
|
+
]
|
|
9256
|
+
}
|
|
9257
|
+
},
|
|
9258
|
+
"additionalProperties": false,
|
|
9259
|
+
"required": [
|
|
9260
|
+
"commentId",
|
|
9261
|
+
"target"
|
|
9262
|
+
]
|
|
9263
|
+
}
|
|
9264
|
+
},
|
|
9265
|
+
"additionalProperties": false,
|
|
9266
|
+
"required": [
|
|
9267
|
+
"id",
|
|
9268
|
+
"op",
|
|
9269
|
+
"args"
|
|
9270
|
+
]
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
"type": "object",
|
|
9274
|
+
"properties": {
|
|
9275
|
+
"id": {
|
|
9276
|
+
"type": "string",
|
|
9277
|
+
"minLength": 1
|
|
9278
|
+
},
|
|
9279
|
+
"op": {
|
|
9280
|
+
"const": "trackChanges.decide",
|
|
9281
|
+
"type": "string"
|
|
9282
|
+
},
|
|
9283
|
+
"args": {
|
|
9284
|
+
"type": "object",
|
|
9285
|
+
"properties": {
|
|
9286
|
+
"decision": {
|
|
9287
|
+
"enum": [
|
|
9288
|
+
"accept",
|
|
9289
|
+
"reject"
|
|
9290
|
+
],
|
|
9291
|
+
"type": "string"
|
|
9292
|
+
},
|
|
9293
|
+
"target": {
|
|
9294
|
+
"oneOf": [
|
|
9295
|
+
{
|
|
9296
|
+
"type": "object",
|
|
9297
|
+
"properties": {
|
|
9298
|
+
"kind": {
|
|
9299
|
+
"const": "id",
|
|
9300
|
+
"type": "string"
|
|
9301
|
+
},
|
|
9302
|
+
"id": {
|
|
9303
|
+
"type": "string",
|
|
9304
|
+
"minLength": 1
|
|
9305
|
+
}
|
|
9306
|
+
},
|
|
9307
|
+
"additionalProperties": false,
|
|
9308
|
+
"required": [
|
|
9309
|
+
"kind",
|
|
9310
|
+
"id"
|
|
9311
|
+
]
|
|
9312
|
+
},
|
|
9313
|
+
{
|
|
9314
|
+
"type": "object",
|
|
9315
|
+
"properties": {
|
|
9316
|
+
"kind": {
|
|
9317
|
+
"const": "ids",
|
|
9318
|
+
"type": "string"
|
|
9319
|
+
},
|
|
9320
|
+
"ids": {
|
|
9321
|
+
"type": "array",
|
|
9322
|
+
"items": {
|
|
9323
|
+
"type": "string",
|
|
9324
|
+
"minLength": 1
|
|
9325
|
+
},
|
|
9326
|
+
"minItems": 1
|
|
9327
|
+
}
|
|
9328
|
+
},
|
|
9329
|
+
"additionalProperties": false,
|
|
9330
|
+
"required": [
|
|
9331
|
+
"kind",
|
|
9332
|
+
"ids"
|
|
9333
|
+
]
|
|
9334
|
+
}
|
|
9335
|
+
]
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9338
|
+
"additionalProperties": false,
|
|
9339
|
+
"required": [
|
|
9340
|
+
"decision",
|
|
9341
|
+
"target"
|
|
9342
|
+
]
|
|
9343
|
+
}
|
|
9344
|
+
},
|
|
9345
|
+
"additionalProperties": false,
|
|
9346
|
+
"required": [
|
|
9347
|
+
"id",
|
|
9348
|
+
"op",
|
|
9349
|
+
"args"
|
|
9350
|
+
]
|
|
9228
9351
|
}
|
|
9229
9352
|
]
|
|
9230
9353
|
},
|
|
9231
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or
|
|
9354
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use 'where'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
9232
9355
|
},
|
|
9233
9356
|
"detail": {
|
|
9234
9357
|
"type": "object",
|
|
@@ -9299,6 +9422,22 @@
|
|
|
9299
9422
|
"exact"
|
|
9300
9423
|
]
|
|
9301
9424
|
},
|
|
9425
|
+
"Range": {
|
|
9426
|
+
"type": "object",
|
|
9427
|
+
"properties": {
|
|
9428
|
+
"start": {
|
|
9429
|
+
"type": "integer"
|
|
9430
|
+
},
|
|
9431
|
+
"end": {
|
|
9432
|
+
"type": "integer"
|
|
9433
|
+
}
|
|
9434
|
+
},
|
|
9435
|
+
"additionalProperties": false,
|
|
9436
|
+
"required": [
|
|
9437
|
+
"start",
|
|
9438
|
+
"end"
|
|
9439
|
+
]
|
|
9440
|
+
},
|
|
9302
9441
|
"SectionAddress": {
|
|
9303
9442
|
"type": "object",
|
|
9304
9443
|
"properties": {
|
|
@@ -9590,6 +9729,30 @@
|
|
|
9590
9729
|
}
|
|
9591
9730
|
]
|
|
9592
9731
|
},
|
|
9732
|
+
"TextAddress": {
|
|
9733
|
+
"type": "object",
|
|
9734
|
+
"properties": {
|
|
9735
|
+
"kind": {
|
|
9736
|
+
"const": "text",
|
|
9737
|
+
"type": "string"
|
|
9738
|
+
},
|
|
9739
|
+
"blockId": {
|
|
9740
|
+
"type": "string"
|
|
9741
|
+
},
|
|
9742
|
+
"range": {
|
|
9743
|
+
"$ref": "#/$defs/Range"
|
|
9744
|
+
},
|
|
9745
|
+
"story": {
|
|
9746
|
+
"$ref": "#/$defs/StoryLocator"
|
|
9747
|
+
}
|
|
9748
|
+
},
|
|
9749
|
+
"additionalProperties": false,
|
|
9750
|
+
"required": [
|
|
9751
|
+
"kind",
|
|
9752
|
+
"blockId",
|
|
9753
|
+
"range"
|
|
9754
|
+
]
|
|
9755
|
+
},
|
|
9593
9756
|
"TextCoordinateSpace": {
|
|
9594
9757
|
"enum": [
|
|
9595
9758
|
"visible",
|
|
@@ -8777,10 +8777,133 @@
|
|
|
8777
8777
|
"where",
|
|
8778
8778
|
"args"
|
|
8779
8779
|
]
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"type": "object",
|
|
8783
|
+
"properties": {
|
|
8784
|
+
"id": {
|
|
8785
|
+
"type": "string",
|
|
8786
|
+
"minLength": 1
|
|
8787
|
+
},
|
|
8788
|
+
"op": {
|
|
8789
|
+
"const": "comments.patch",
|
|
8790
|
+
"type": "string"
|
|
8791
|
+
},
|
|
8792
|
+
"args": {
|
|
8793
|
+
"type": "object",
|
|
8794
|
+
"properties": {
|
|
8795
|
+
"commentId": {
|
|
8796
|
+
"type": "string",
|
|
8797
|
+
"minLength": 1
|
|
8798
|
+
},
|
|
8799
|
+
"target": {
|
|
8800
|
+
"oneOf": [
|
|
8801
|
+
{
|
|
8802
|
+
"$ref": "#/$defs/TextAddress"
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
8806
|
+
}
|
|
8807
|
+
]
|
|
8808
|
+
}
|
|
8809
|
+
},
|
|
8810
|
+
"additionalProperties": false,
|
|
8811
|
+
"required": [
|
|
8812
|
+
"commentId",
|
|
8813
|
+
"target"
|
|
8814
|
+
]
|
|
8815
|
+
}
|
|
8816
|
+
},
|
|
8817
|
+
"additionalProperties": false,
|
|
8818
|
+
"required": [
|
|
8819
|
+
"id",
|
|
8820
|
+
"op",
|
|
8821
|
+
"args"
|
|
8822
|
+
]
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"type": "object",
|
|
8826
|
+
"properties": {
|
|
8827
|
+
"id": {
|
|
8828
|
+
"type": "string",
|
|
8829
|
+
"minLength": 1
|
|
8830
|
+
},
|
|
8831
|
+
"op": {
|
|
8832
|
+
"const": "trackChanges.decide",
|
|
8833
|
+
"type": "string"
|
|
8834
|
+
},
|
|
8835
|
+
"args": {
|
|
8836
|
+
"type": "object",
|
|
8837
|
+
"properties": {
|
|
8838
|
+
"decision": {
|
|
8839
|
+
"enum": [
|
|
8840
|
+
"accept",
|
|
8841
|
+
"reject"
|
|
8842
|
+
],
|
|
8843
|
+
"type": "string"
|
|
8844
|
+
},
|
|
8845
|
+
"target": {
|
|
8846
|
+
"oneOf": [
|
|
8847
|
+
{
|
|
8848
|
+
"type": "object",
|
|
8849
|
+
"properties": {
|
|
8850
|
+
"kind": {
|
|
8851
|
+
"const": "id",
|
|
8852
|
+
"type": "string"
|
|
8853
|
+
},
|
|
8854
|
+
"id": {
|
|
8855
|
+
"type": "string",
|
|
8856
|
+
"minLength": 1
|
|
8857
|
+
}
|
|
8858
|
+
},
|
|
8859
|
+
"additionalProperties": false,
|
|
8860
|
+
"required": [
|
|
8861
|
+
"kind",
|
|
8862
|
+
"id"
|
|
8863
|
+
]
|
|
8864
|
+
},
|
|
8865
|
+
{
|
|
8866
|
+
"type": "object",
|
|
8867
|
+
"properties": {
|
|
8868
|
+
"kind": {
|
|
8869
|
+
"const": "ids",
|
|
8870
|
+
"type": "string"
|
|
8871
|
+
},
|
|
8872
|
+
"ids": {
|
|
8873
|
+
"type": "array",
|
|
8874
|
+
"items": {
|
|
8875
|
+
"type": "string",
|
|
8876
|
+
"minLength": 1
|
|
8877
|
+
},
|
|
8878
|
+
"minItems": 1
|
|
8879
|
+
}
|
|
8880
|
+
},
|
|
8881
|
+
"additionalProperties": false,
|
|
8882
|
+
"required": [
|
|
8883
|
+
"kind",
|
|
8884
|
+
"ids"
|
|
8885
|
+
]
|
|
8886
|
+
}
|
|
8887
|
+
]
|
|
8888
|
+
}
|
|
8889
|
+
},
|
|
8890
|
+
"additionalProperties": false,
|
|
8891
|
+
"required": [
|
|
8892
|
+
"decision",
|
|
8893
|
+
"target"
|
|
8894
|
+
]
|
|
8895
|
+
}
|
|
8896
|
+
},
|
|
8897
|
+
"additionalProperties": false,
|
|
8898
|
+
"required": [
|
|
8899
|
+
"id",
|
|
8900
|
+
"op",
|
|
8901
|
+
"args"
|
|
8902
|
+
]
|
|
8780
8903
|
}
|
|
8781
8904
|
]
|
|
8782
8905
|
},
|
|
8783
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or
|
|
8906
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use 'where'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
8784
8907
|
},
|
|
8785
8908
|
"detail": {
|
|
8786
8909
|
"type": "object",
|
|
@@ -8851,6 +8974,22 @@
|
|
|
8851
8974
|
"exact"
|
|
8852
8975
|
]
|
|
8853
8976
|
},
|
|
8977
|
+
"Range": {
|
|
8978
|
+
"type": "object",
|
|
8979
|
+
"properties": {
|
|
8980
|
+
"start": {
|
|
8981
|
+
"type": "integer"
|
|
8982
|
+
},
|
|
8983
|
+
"end": {
|
|
8984
|
+
"type": "integer"
|
|
8985
|
+
}
|
|
8986
|
+
},
|
|
8987
|
+
"additionalProperties": false,
|
|
8988
|
+
"required": [
|
|
8989
|
+
"start",
|
|
8990
|
+
"end"
|
|
8991
|
+
]
|
|
8992
|
+
},
|
|
8854
8993
|
"SectionAddress": {
|
|
8855
8994
|
"type": "object",
|
|
8856
8995
|
"properties": {
|
|
@@ -9142,6 +9281,30 @@
|
|
|
9142
9281
|
}
|
|
9143
9282
|
]
|
|
9144
9283
|
},
|
|
9284
|
+
"TextAddress": {
|
|
9285
|
+
"type": "object",
|
|
9286
|
+
"properties": {
|
|
9287
|
+
"kind": {
|
|
9288
|
+
"const": "text",
|
|
9289
|
+
"type": "string"
|
|
9290
|
+
},
|
|
9291
|
+
"blockId": {
|
|
9292
|
+
"type": "string"
|
|
9293
|
+
},
|
|
9294
|
+
"range": {
|
|
9295
|
+
"$ref": "#/$defs/Range"
|
|
9296
|
+
},
|
|
9297
|
+
"story": {
|
|
9298
|
+
"$ref": "#/$defs/StoryLocator"
|
|
9299
|
+
}
|
|
9300
|
+
},
|
|
9301
|
+
"additionalProperties": false,
|
|
9302
|
+
"required": [
|
|
9303
|
+
"kind",
|
|
9304
|
+
"blockId",
|
|
9305
|
+
"range"
|
|
9306
|
+
]
|
|
9307
|
+
},
|
|
9145
9308
|
"TextCoordinateSpace": {
|
|
9146
9309
|
"enum": [
|
|
9147
9310
|
"visible",
|
|
@@ -8945,10 +8945,133 @@
|
|
|
8945
8945
|
"where",
|
|
8946
8946
|
"args"
|
|
8947
8947
|
]
|
|
8948
|
+
},
|
|
8949
|
+
{
|
|
8950
|
+
"type": "object",
|
|
8951
|
+
"properties": {
|
|
8952
|
+
"id": {
|
|
8953
|
+
"type": "string",
|
|
8954
|
+
"minLength": 1
|
|
8955
|
+
},
|
|
8956
|
+
"op": {
|
|
8957
|
+
"const": "comments.patch",
|
|
8958
|
+
"type": "string"
|
|
8959
|
+
},
|
|
8960
|
+
"args": {
|
|
8961
|
+
"type": "object",
|
|
8962
|
+
"properties": {
|
|
8963
|
+
"commentId": {
|
|
8964
|
+
"type": "string",
|
|
8965
|
+
"minLength": 1
|
|
8966
|
+
},
|
|
8967
|
+
"target": {
|
|
8968
|
+
"oneOf": [
|
|
8969
|
+
{
|
|
8970
|
+
"$ref": "#/$defs/TextAddress"
|
|
8971
|
+
},
|
|
8972
|
+
{
|
|
8973
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
8974
|
+
}
|
|
8975
|
+
]
|
|
8976
|
+
}
|
|
8977
|
+
},
|
|
8978
|
+
"additionalProperties": false,
|
|
8979
|
+
"required": [
|
|
8980
|
+
"commentId",
|
|
8981
|
+
"target"
|
|
8982
|
+
]
|
|
8983
|
+
}
|
|
8984
|
+
},
|
|
8985
|
+
"additionalProperties": false,
|
|
8986
|
+
"required": [
|
|
8987
|
+
"id",
|
|
8988
|
+
"op",
|
|
8989
|
+
"args"
|
|
8990
|
+
]
|
|
8991
|
+
},
|
|
8992
|
+
{
|
|
8993
|
+
"type": "object",
|
|
8994
|
+
"properties": {
|
|
8995
|
+
"id": {
|
|
8996
|
+
"type": "string",
|
|
8997
|
+
"minLength": 1
|
|
8998
|
+
},
|
|
8999
|
+
"op": {
|
|
9000
|
+
"const": "trackChanges.decide",
|
|
9001
|
+
"type": "string"
|
|
9002
|
+
},
|
|
9003
|
+
"args": {
|
|
9004
|
+
"type": "object",
|
|
9005
|
+
"properties": {
|
|
9006
|
+
"decision": {
|
|
9007
|
+
"enum": [
|
|
9008
|
+
"accept",
|
|
9009
|
+
"reject"
|
|
9010
|
+
],
|
|
9011
|
+
"type": "string"
|
|
9012
|
+
},
|
|
9013
|
+
"target": {
|
|
9014
|
+
"oneOf": [
|
|
9015
|
+
{
|
|
9016
|
+
"type": "object",
|
|
9017
|
+
"properties": {
|
|
9018
|
+
"kind": {
|
|
9019
|
+
"const": "id",
|
|
9020
|
+
"type": "string"
|
|
9021
|
+
},
|
|
9022
|
+
"id": {
|
|
9023
|
+
"type": "string",
|
|
9024
|
+
"minLength": 1
|
|
9025
|
+
}
|
|
9026
|
+
},
|
|
9027
|
+
"additionalProperties": false,
|
|
9028
|
+
"required": [
|
|
9029
|
+
"kind",
|
|
9030
|
+
"id"
|
|
9031
|
+
]
|
|
9032
|
+
},
|
|
9033
|
+
{
|
|
9034
|
+
"type": "object",
|
|
9035
|
+
"properties": {
|
|
9036
|
+
"kind": {
|
|
9037
|
+
"const": "ids",
|
|
9038
|
+
"type": "string"
|
|
9039
|
+
},
|
|
9040
|
+
"ids": {
|
|
9041
|
+
"type": "array",
|
|
9042
|
+
"items": {
|
|
9043
|
+
"type": "string",
|
|
9044
|
+
"minLength": 1
|
|
9045
|
+
},
|
|
9046
|
+
"minItems": 1
|
|
9047
|
+
}
|
|
9048
|
+
},
|
|
9049
|
+
"additionalProperties": false,
|
|
9050
|
+
"required": [
|
|
9051
|
+
"kind",
|
|
9052
|
+
"ids"
|
|
9053
|
+
]
|
|
9054
|
+
}
|
|
9055
|
+
]
|
|
9056
|
+
}
|
|
9057
|
+
},
|
|
9058
|
+
"additionalProperties": false,
|
|
9059
|
+
"required": [
|
|
9060
|
+
"decision",
|
|
9061
|
+
"target"
|
|
9062
|
+
]
|
|
9063
|
+
}
|
|
9064
|
+
},
|
|
9065
|
+
"additionalProperties": false,
|
|
9066
|
+
"required": [
|
|
9067
|
+
"id",
|
|
9068
|
+
"op",
|
|
9069
|
+
"args"
|
|
9070
|
+
]
|
|
8948
9071
|
}
|
|
8949
9072
|
]
|
|
8950
9073
|
},
|
|
8951
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or
|
|
9074
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use 'where'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
8952
9075
|
},
|
|
8953
9076
|
"detail": {
|
|
8954
9077
|
"type": "object",
|
|
@@ -9019,6 +9142,22 @@
|
|
|
9019
9142
|
"exact"
|
|
9020
9143
|
]
|
|
9021
9144
|
},
|
|
9145
|
+
"Range": {
|
|
9146
|
+
"type": "object",
|
|
9147
|
+
"properties": {
|
|
9148
|
+
"start": {
|
|
9149
|
+
"type": "integer"
|
|
9150
|
+
},
|
|
9151
|
+
"end": {
|
|
9152
|
+
"type": "integer"
|
|
9153
|
+
}
|
|
9154
|
+
},
|
|
9155
|
+
"additionalProperties": false,
|
|
9156
|
+
"required": [
|
|
9157
|
+
"start",
|
|
9158
|
+
"end"
|
|
9159
|
+
]
|
|
9160
|
+
},
|
|
9022
9161
|
"SectionAddress": {
|
|
9023
9162
|
"type": "object",
|
|
9024
9163
|
"properties": {
|
|
@@ -9310,6 +9449,30 @@
|
|
|
9310
9449
|
}
|
|
9311
9450
|
]
|
|
9312
9451
|
},
|
|
9452
|
+
"TextAddress": {
|
|
9453
|
+
"type": "object",
|
|
9454
|
+
"properties": {
|
|
9455
|
+
"kind": {
|
|
9456
|
+
"const": "text",
|
|
9457
|
+
"type": "string"
|
|
9458
|
+
},
|
|
9459
|
+
"blockId": {
|
|
9460
|
+
"type": "string"
|
|
9461
|
+
},
|
|
9462
|
+
"range": {
|
|
9463
|
+
"$ref": "#/$defs/Range"
|
|
9464
|
+
},
|
|
9465
|
+
"story": {
|
|
9466
|
+
"$ref": "#/$defs/StoryLocator"
|
|
9467
|
+
}
|
|
9468
|
+
},
|
|
9469
|
+
"additionalProperties": false,
|
|
9470
|
+
"required": [
|
|
9471
|
+
"kind",
|
|
9472
|
+
"blockId",
|
|
9473
|
+
"range"
|
|
9474
|
+
]
|
|
9475
|
+
},
|
|
9313
9476
|
"TextCoordinateSpace": {
|
|
9314
9477
|
"enum": [
|
|
9315
9478
|
"visible",
|