@superdoc/sdk 2.10.0-next.2 → 2.10.0-next.3
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/agent/actions.cjs +57 -104
- package/dist/agent/actions.js +57 -104
- package/dist/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +38 -0
- package/dist/generated/contract.cjs +190 -0
- package/dist/generated/contract.js +190 -0
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/package.json +6 -6
- package/tools/catalog.json +54 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +54 -0
- package/tools/tools.generic.json +54 -0
- package/tools/tools.openai.json +54 -0
- package/tools/tools.vercel.json +54 -0
|
@@ -3250,6 +3250,10 @@
|
|
|
3250
3250
|
"wholeWord": {
|
|
3251
3251
|
"type": "boolean",
|
|
3252
3252
|
"description": "Require word-boundary matches. Default: false."
|
|
3253
|
+
},
|
|
3254
|
+
"includeDeletedText": {
|
|
3255
|
+
"type": "boolean",
|
|
3256
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3253
3257
|
}
|
|
3254
3258
|
},
|
|
3255
3259
|
"additionalProperties": false,
|
|
@@ -3434,6 +3438,10 @@
|
|
|
3434
3438
|
"wholeWord": {
|
|
3435
3439
|
"type": "boolean",
|
|
3436
3440
|
"description": "Require word-boundary matches. Default: false."
|
|
3441
|
+
},
|
|
3442
|
+
"includeDeletedText": {
|
|
3443
|
+
"type": "boolean",
|
|
3444
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3437
3445
|
}
|
|
3438
3446
|
},
|
|
3439
3447
|
"additionalProperties": false,
|
|
@@ -3623,6 +3631,20 @@
|
|
|
3623
3631
|
}
|
|
3624
3632
|
]
|
|
3625
3633
|
},
|
|
3634
|
+
"replacementMode": {
|
|
3635
|
+
"enum": [
|
|
3636
|
+
"literal",
|
|
3637
|
+
"regex-template"
|
|
3638
|
+
],
|
|
3639
|
+
"type": "string"
|
|
3640
|
+
},
|
|
3641
|
+
"caseHandling": {
|
|
3642
|
+
"enum": [
|
|
3643
|
+
"exact",
|
|
3644
|
+
"preserve-match"
|
|
3645
|
+
],
|
|
3646
|
+
"type": "string"
|
|
3647
|
+
},
|
|
3626
3648
|
"style": {
|
|
3627
3649
|
"type": "object",
|
|
3628
3650
|
"properties": {
|
|
@@ -3774,6 +3796,10 @@
|
|
|
3774
3796
|
"wholeWord": {
|
|
3775
3797
|
"type": "boolean",
|
|
3776
3798
|
"description": "Require word-boundary matches. Default: false."
|
|
3799
|
+
},
|
|
3800
|
+
"includeDeletedText": {
|
|
3801
|
+
"type": "boolean",
|
|
3802
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3777
3803
|
}
|
|
3778
3804
|
},
|
|
3779
3805
|
"additionalProperties": false,
|
|
@@ -4063,6 +4089,10 @@
|
|
|
4063
4089
|
"wholeWord": {
|
|
4064
4090
|
"type": "boolean",
|
|
4065
4091
|
"description": "Require word-boundary matches. Default: false."
|
|
4092
|
+
},
|
|
4093
|
+
"includeDeletedText": {
|
|
4094
|
+
"type": "boolean",
|
|
4095
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4066
4096
|
}
|
|
4067
4097
|
},
|
|
4068
4098
|
"additionalProperties": false,
|
|
@@ -4274,6 +4304,10 @@
|
|
|
4274
4304
|
"wholeWord": {
|
|
4275
4305
|
"type": "boolean",
|
|
4276
4306
|
"description": "Require word-boundary matches. Default: false."
|
|
4307
|
+
},
|
|
4308
|
+
"includeDeletedText": {
|
|
4309
|
+
"type": "boolean",
|
|
4310
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4277
4311
|
}
|
|
4278
4312
|
},
|
|
4279
4313
|
"additionalProperties": false,
|
|
@@ -5308,6 +5342,10 @@
|
|
|
5308
5342
|
"wholeWord": {
|
|
5309
5343
|
"type": "boolean",
|
|
5310
5344
|
"description": "Require word-boundary matches. Default: false."
|
|
5345
|
+
},
|
|
5346
|
+
"includeDeletedText": {
|
|
5347
|
+
"type": "boolean",
|
|
5348
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
5311
5349
|
}
|
|
5312
5350
|
},
|
|
5313
5351
|
"additionalProperties": false,
|
|
@@ -5401,6 +5439,22 @@
|
|
|
5401
5439
|
},
|
|
5402
5440
|
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
|
|
5403
5441
|
},
|
|
5442
|
+
"detail": {
|
|
5443
|
+
"type": "object",
|
|
5444
|
+
"properties": {
|
|
5445
|
+
"offset": {
|
|
5446
|
+
"type": "number",
|
|
5447
|
+
"minimum": 0
|
|
5448
|
+
},
|
|
5449
|
+
"limit": {
|
|
5450
|
+
"type": "number",
|
|
5451
|
+
"minimum": 0,
|
|
5452
|
+
"maximum": 1000
|
|
5453
|
+
}
|
|
5454
|
+
},
|
|
5455
|
+
"additionalProperties": false,
|
|
5456
|
+
"description": "Only for action 'preview'. Omit for other actions."
|
|
5457
|
+
},
|
|
5404
5458
|
"force": {
|
|
5405
5459
|
"type": "boolean",
|
|
5406
5460
|
"description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
|
package/tools/tools.generic.json
CHANGED
|
@@ -3400,6 +3400,10 @@
|
|
|
3400
3400
|
"wholeWord": {
|
|
3401
3401
|
"type": "boolean",
|
|
3402
3402
|
"description": "Require word-boundary matches. Default: false."
|
|
3403
|
+
},
|
|
3404
|
+
"includeDeletedText": {
|
|
3405
|
+
"type": "boolean",
|
|
3406
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3403
3407
|
}
|
|
3404
3408
|
},
|
|
3405
3409
|
"additionalProperties": false,
|
|
@@ -3600,6 +3604,10 @@
|
|
|
3600
3604
|
"wholeWord": {
|
|
3601
3605
|
"type": "boolean",
|
|
3602
3606
|
"description": "Require word-boundary matches. Default: false."
|
|
3607
|
+
},
|
|
3608
|
+
"includeDeletedText": {
|
|
3609
|
+
"type": "boolean",
|
|
3610
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3603
3611
|
}
|
|
3604
3612
|
},
|
|
3605
3613
|
"additionalProperties": false,
|
|
@@ -3789,6 +3797,20 @@
|
|
|
3789
3797
|
}
|
|
3790
3798
|
]
|
|
3791
3799
|
},
|
|
3800
|
+
"replacementMode": {
|
|
3801
|
+
"enum": [
|
|
3802
|
+
"literal",
|
|
3803
|
+
"regex-template"
|
|
3804
|
+
],
|
|
3805
|
+
"type": "string"
|
|
3806
|
+
},
|
|
3807
|
+
"caseHandling": {
|
|
3808
|
+
"enum": [
|
|
3809
|
+
"exact",
|
|
3810
|
+
"preserve-match"
|
|
3811
|
+
],
|
|
3812
|
+
"type": "string"
|
|
3813
|
+
},
|
|
3792
3814
|
"style": {
|
|
3793
3815
|
"type": "object",
|
|
3794
3816
|
"properties": {
|
|
@@ -3940,6 +3962,10 @@
|
|
|
3940
3962
|
"wholeWord": {
|
|
3941
3963
|
"type": "boolean",
|
|
3942
3964
|
"description": "Require word-boundary matches. Default: false."
|
|
3965
|
+
},
|
|
3966
|
+
"includeDeletedText": {
|
|
3967
|
+
"type": "boolean",
|
|
3968
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3943
3969
|
}
|
|
3944
3970
|
},
|
|
3945
3971
|
"additionalProperties": false,
|
|
@@ -4229,6 +4255,10 @@
|
|
|
4229
4255
|
"wholeWord": {
|
|
4230
4256
|
"type": "boolean",
|
|
4231
4257
|
"description": "Require word-boundary matches. Default: false."
|
|
4258
|
+
},
|
|
4259
|
+
"includeDeletedText": {
|
|
4260
|
+
"type": "boolean",
|
|
4261
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4232
4262
|
}
|
|
4233
4263
|
},
|
|
4234
4264
|
"additionalProperties": false,
|
|
@@ -4440,6 +4470,10 @@
|
|
|
4440
4470
|
"wholeWord": {
|
|
4441
4471
|
"type": "boolean",
|
|
4442
4472
|
"description": "Require word-boundary matches. Default: false."
|
|
4473
|
+
},
|
|
4474
|
+
"includeDeletedText": {
|
|
4475
|
+
"type": "boolean",
|
|
4476
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4443
4477
|
}
|
|
4444
4478
|
},
|
|
4445
4479
|
"additionalProperties": false,
|
|
@@ -5474,6 +5508,10 @@
|
|
|
5474
5508
|
"wholeWord": {
|
|
5475
5509
|
"type": "boolean",
|
|
5476
5510
|
"description": "Require word-boundary matches. Default: false."
|
|
5511
|
+
},
|
|
5512
|
+
"includeDeletedText": {
|
|
5513
|
+
"type": "boolean",
|
|
5514
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
5477
5515
|
}
|
|
5478
5516
|
},
|
|
5479
5517
|
"additionalProperties": false,
|
|
@@ -5567,6 +5605,22 @@
|
|
|
5567
5605
|
},
|
|
5568
5606
|
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
|
|
5569
5607
|
},
|
|
5608
|
+
"detail": {
|
|
5609
|
+
"type": "object",
|
|
5610
|
+
"properties": {
|
|
5611
|
+
"offset": {
|
|
5612
|
+
"type": "number",
|
|
5613
|
+
"minimum": 0
|
|
5614
|
+
},
|
|
5615
|
+
"limit": {
|
|
5616
|
+
"type": "number",
|
|
5617
|
+
"minimum": 0,
|
|
5618
|
+
"maximum": 1000
|
|
5619
|
+
}
|
|
5620
|
+
},
|
|
5621
|
+
"additionalProperties": false,
|
|
5622
|
+
"description": "Only for action 'preview'. Omit for other actions."
|
|
5623
|
+
},
|
|
5570
5624
|
"force": {
|
|
5571
5625
|
"type": "boolean",
|
|
5572
5626
|
"description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
|
package/tools/tools.openai.json
CHANGED
|
@@ -3273,6 +3273,10 @@
|
|
|
3273
3273
|
"wholeWord": {
|
|
3274
3274
|
"type": "boolean",
|
|
3275
3275
|
"description": "Require word-boundary matches. Default: false."
|
|
3276
|
+
},
|
|
3277
|
+
"includeDeletedText": {
|
|
3278
|
+
"type": "boolean",
|
|
3279
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3276
3280
|
}
|
|
3277
3281
|
},
|
|
3278
3282
|
"additionalProperties": false,
|
|
@@ -3460,6 +3464,10 @@
|
|
|
3460
3464
|
"wholeWord": {
|
|
3461
3465
|
"type": "boolean",
|
|
3462
3466
|
"description": "Require word-boundary matches. Default: false."
|
|
3467
|
+
},
|
|
3468
|
+
"includeDeletedText": {
|
|
3469
|
+
"type": "boolean",
|
|
3470
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3463
3471
|
}
|
|
3464
3472
|
},
|
|
3465
3473
|
"additionalProperties": false,
|
|
@@ -3649,6 +3657,20 @@
|
|
|
3649
3657
|
}
|
|
3650
3658
|
]
|
|
3651
3659
|
},
|
|
3660
|
+
"replacementMode": {
|
|
3661
|
+
"enum": [
|
|
3662
|
+
"literal",
|
|
3663
|
+
"regex-template"
|
|
3664
|
+
],
|
|
3665
|
+
"type": "string"
|
|
3666
|
+
},
|
|
3667
|
+
"caseHandling": {
|
|
3668
|
+
"enum": [
|
|
3669
|
+
"exact",
|
|
3670
|
+
"preserve-match"
|
|
3671
|
+
],
|
|
3672
|
+
"type": "string"
|
|
3673
|
+
},
|
|
3652
3674
|
"style": {
|
|
3653
3675
|
"type": "object",
|
|
3654
3676
|
"properties": {
|
|
@@ -3800,6 +3822,10 @@
|
|
|
3800
3822
|
"wholeWord": {
|
|
3801
3823
|
"type": "boolean",
|
|
3802
3824
|
"description": "Require word-boundary matches. Default: false."
|
|
3825
|
+
},
|
|
3826
|
+
"includeDeletedText": {
|
|
3827
|
+
"type": "boolean",
|
|
3828
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3803
3829
|
}
|
|
3804
3830
|
},
|
|
3805
3831
|
"additionalProperties": false,
|
|
@@ -4089,6 +4115,10 @@
|
|
|
4089
4115
|
"wholeWord": {
|
|
4090
4116
|
"type": "boolean",
|
|
4091
4117
|
"description": "Require word-boundary matches. Default: false."
|
|
4118
|
+
},
|
|
4119
|
+
"includeDeletedText": {
|
|
4120
|
+
"type": "boolean",
|
|
4121
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4092
4122
|
}
|
|
4093
4123
|
},
|
|
4094
4124
|
"additionalProperties": false,
|
|
@@ -4300,6 +4330,10 @@
|
|
|
4300
4330
|
"wholeWord": {
|
|
4301
4331
|
"type": "boolean",
|
|
4302
4332
|
"description": "Require word-boundary matches. Default: false."
|
|
4333
|
+
},
|
|
4334
|
+
"includeDeletedText": {
|
|
4335
|
+
"type": "boolean",
|
|
4336
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4303
4337
|
}
|
|
4304
4338
|
},
|
|
4305
4339
|
"additionalProperties": false,
|
|
@@ -5334,6 +5368,10 @@
|
|
|
5334
5368
|
"wholeWord": {
|
|
5335
5369
|
"type": "boolean",
|
|
5336
5370
|
"description": "Require word-boundary matches. Default: false."
|
|
5371
|
+
},
|
|
5372
|
+
"includeDeletedText": {
|
|
5373
|
+
"type": "boolean",
|
|
5374
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
5337
5375
|
}
|
|
5338
5376
|
},
|
|
5339
5377
|
"additionalProperties": false,
|
|
@@ -5427,6 +5465,22 @@
|
|
|
5427
5465
|
},
|
|
5428
5466
|
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
|
|
5429
5467
|
},
|
|
5468
|
+
"detail": {
|
|
5469
|
+
"type": "object",
|
|
5470
|
+
"properties": {
|
|
5471
|
+
"offset": {
|
|
5472
|
+
"type": "number",
|
|
5473
|
+
"minimum": 0
|
|
5474
|
+
},
|
|
5475
|
+
"limit": {
|
|
5476
|
+
"type": "number",
|
|
5477
|
+
"minimum": 0,
|
|
5478
|
+
"maximum": 1000
|
|
5479
|
+
}
|
|
5480
|
+
},
|
|
5481
|
+
"additionalProperties": false,
|
|
5482
|
+
"description": "Only for action 'preview'. Omit for other actions."
|
|
5483
|
+
},
|
|
5430
5484
|
"force": {
|
|
5431
5485
|
"type": "boolean",
|
|
5432
5486
|
"description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
|
package/tools/tools.vercel.json
CHANGED
|
@@ -3273,6 +3273,10 @@
|
|
|
3273
3273
|
"wholeWord": {
|
|
3274
3274
|
"type": "boolean",
|
|
3275
3275
|
"description": "Require word-boundary matches. Default: false."
|
|
3276
|
+
},
|
|
3277
|
+
"includeDeletedText": {
|
|
3278
|
+
"type": "boolean",
|
|
3279
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3276
3280
|
}
|
|
3277
3281
|
},
|
|
3278
3282
|
"additionalProperties": false,
|
|
@@ -3460,6 +3464,10 @@
|
|
|
3460
3464
|
"wholeWord": {
|
|
3461
3465
|
"type": "boolean",
|
|
3462
3466
|
"description": "Require word-boundary matches. Default: false."
|
|
3467
|
+
},
|
|
3468
|
+
"includeDeletedText": {
|
|
3469
|
+
"type": "boolean",
|
|
3470
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3463
3471
|
}
|
|
3464
3472
|
},
|
|
3465
3473
|
"additionalProperties": false,
|
|
@@ -3649,6 +3657,20 @@
|
|
|
3649
3657
|
}
|
|
3650
3658
|
]
|
|
3651
3659
|
},
|
|
3660
|
+
"replacementMode": {
|
|
3661
|
+
"enum": [
|
|
3662
|
+
"literal",
|
|
3663
|
+
"regex-template"
|
|
3664
|
+
],
|
|
3665
|
+
"type": "string"
|
|
3666
|
+
},
|
|
3667
|
+
"caseHandling": {
|
|
3668
|
+
"enum": [
|
|
3669
|
+
"exact",
|
|
3670
|
+
"preserve-match"
|
|
3671
|
+
],
|
|
3672
|
+
"type": "string"
|
|
3673
|
+
},
|
|
3652
3674
|
"style": {
|
|
3653
3675
|
"type": "object",
|
|
3654
3676
|
"properties": {
|
|
@@ -3800,6 +3822,10 @@
|
|
|
3800
3822
|
"wholeWord": {
|
|
3801
3823
|
"type": "boolean",
|
|
3802
3824
|
"description": "Require word-boundary matches. Default: false."
|
|
3825
|
+
},
|
|
3826
|
+
"includeDeletedText": {
|
|
3827
|
+
"type": "boolean",
|
|
3828
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
3803
3829
|
}
|
|
3804
3830
|
},
|
|
3805
3831
|
"additionalProperties": false,
|
|
@@ -4089,6 +4115,10 @@
|
|
|
4089
4115
|
"wholeWord": {
|
|
4090
4116
|
"type": "boolean",
|
|
4091
4117
|
"description": "Require word-boundary matches. Default: false."
|
|
4118
|
+
},
|
|
4119
|
+
"includeDeletedText": {
|
|
4120
|
+
"type": "boolean",
|
|
4121
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4092
4122
|
}
|
|
4093
4123
|
},
|
|
4094
4124
|
"additionalProperties": false,
|
|
@@ -4300,6 +4330,10 @@
|
|
|
4300
4330
|
"wholeWord": {
|
|
4301
4331
|
"type": "boolean",
|
|
4302
4332
|
"description": "Require word-boundary matches. Default: false."
|
|
4333
|
+
},
|
|
4334
|
+
"includeDeletedText": {
|
|
4335
|
+
"type": "boolean",
|
|
4336
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
4303
4337
|
}
|
|
4304
4338
|
},
|
|
4305
4339
|
"additionalProperties": false,
|
|
@@ -5334,6 +5368,10 @@
|
|
|
5334
5368
|
"wholeWord": {
|
|
5335
5369
|
"type": "boolean",
|
|
5336
5370
|
"description": "Require word-boundary matches. Default: false."
|
|
5371
|
+
},
|
|
5372
|
+
"includeDeletedText": {
|
|
5373
|
+
"type": "boolean",
|
|
5374
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
5337
5375
|
}
|
|
5338
5376
|
},
|
|
5339
5377
|
"additionalProperties": false,
|
|
@@ -5427,6 +5465,22 @@
|
|
|
5427
5465
|
},
|
|
5428
5466
|
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
|
|
5429
5467
|
},
|
|
5468
|
+
"detail": {
|
|
5469
|
+
"type": "object",
|
|
5470
|
+
"properties": {
|
|
5471
|
+
"offset": {
|
|
5472
|
+
"type": "number",
|
|
5473
|
+
"minimum": 0
|
|
5474
|
+
},
|
|
5475
|
+
"limit": {
|
|
5476
|
+
"type": "number",
|
|
5477
|
+
"minimum": 0,
|
|
5478
|
+
"maximum": 1000
|
|
5479
|
+
}
|
|
5480
|
+
},
|
|
5481
|
+
"additionalProperties": false,
|
|
5482
|
+
"description": "Only for action 'preview'. Omit for other actions."
|
|
5483
|
+
},
|
|
5430
5484
|
"force": {
|
|
5431
5485
|
"type": "boolean",
|
|
5432
5486
|
"description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
|