@superdoc-dev/sdk 1.0.0-alpha.34 → 1.0.0-alpha.35
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/generated/client.cjs +1 -0
- package/dist/generated/client.d.ts +27 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +1 -0
- package/dist/generated/contract.cjs +290 -0
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +290 -0
- package/package.json +6 -6
- package/tools/catalog.json +150 -1
- package/tools/tool-name-map.json +1 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +65 -0
- package/tools/tools.generic.json +140 -0
- package/tools/tools.openai.json +68 -0
- package/tools/tools.vercel.json +68 -0
package/dist/generated/client.js
CHANGED
|
@@ -153,6 +153,7 @@ export function createDocApi(runtime) {
|
|
|
153
153
|
convertToText: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.convertToText"], params, options),
|
|
154
154
|
applyTemplate: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.applyTemplate"], params, options),
|
|
155
155
|
applyPreset: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.applyPreset"], params, options),
|
|
156
|
+
setType: (params, options) => runtime.invoke(CONTRACT.operations["doc.lists.setType"], params, options),
|
|
156
157
|
captureTemplate: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.captureTemplate"], params, options),
|
|
157
158
|
setLevelNumbering: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.setLevelNumbering"], params, options),
|
|
158
159
|
setLevelBullet: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.lists.setLevelBullet"], params, options),
|
|
@@ -37546,6 +37546,260 @@ const CONTRACT = {
|
|
|
37546
37546
|
"type": "object"
|
|
37547
37547
|
}
|
|
37548
37548
|
},
|
|
37549
|
+
"doc.lists.setType": {
|
|
37550
|
+
"operationId": "doc.lists.setType",
|
|
37551
|
+
"command": "lists set-type",
|
|
37552
|
+
"commandTokens": [
|
|
37553
|
+
"lists",
|
|
37554
|
+
"set-type"
|
|
37555
|
+
],
|
|
37556
|
+
"category": "lists",
|
|
37557
|
+
"description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
|
|
37558
|
+
"requiresDocumentContext": true,
|
|
37559
|
+
"docRequirement": "optional",
|
|
37560
|
+
"intentName": "set_list_type",
|
|
37561
|
+
"params": [
|
|
37562
|
+
{
|
|
37563
|
+
"name": "doc",
|
|
37564
|
+
"kind": "doc",
|
|
37565
|
+
"type": "string"
|
|
37566
|
+
},
|
|
37567
|
+
{
|
|
37568
|
+
"name": "sessionId",
|
|
37569
|
+
"kind": "flag",
|
|
37570
|
+
"type": "string",
|
|
37571
|
+
"flag": "session"
|
|
37572
|
+
},
|
|
37573
|
+
{
|
|
37574
|
+
"name": "out",
|
|
37575
|
+
"kind": "flag",
|
|
37576
|
+
"type": "string",
|
|
37577
|
+
"agentVisible": false
|
|
37578
|
+
},
|
|
37579
|
+
{
|
|
37580
|
+
"name": "force",
|
|
37581
|
+
"kind": "flag",
|
|
37582
|
+
"type": "boolean"
|
|
37583
|
+
},
|
|
37584
|
+
{
|
|
37585
|
+
"name": "expectedRevision",
|
|
37586
|
+
"kind": "flag",
|
|
37587
|
+
"type": "number",
|
|
37588
|
+
"flag": "expected-revision",
|
|
37589
|
+
"agentVisible": false
|
|
37590
|
+
},
|
|
37591
|
+
{
|
|
37592
|
+
"name": "changeMode",
|
|
37593
|
+
"kind": "flag",
|
|
37594
|
+
"type": "string",
|
|
37595
|
+
"flag": "change-mode",
|
|
37596
|
+
"schema": {
|
|
37597
|
+
"enum": [
|
|
37598
|
+
"direct",
|
|
37599
|
+
"tracked"
|
|
37600
|
+
]
|
|
37601
|
+
}
|
|
37602
|
+
},
|
|
37603
|
+
{
|
|
37604
|
+
"name": "dryRun",
|
|
37605
|
+
"kind": "flag",
|
|
37606
|
+
"type": "boolean",
|
|
37607
|
+
"flag": "dry-run",
|
|
37608
|
+
"agentVisible": false
|
|
37609
|
+
},
|
|
37610
|
+
{
|
|
37611
|
+
"name": "target",
|
|
37612
|
+
"kind": "jsonFlag",
|
|
37613
|
+
"type": "json",
|
|
37614
|
+
"flag": "target-json",
|
|
37615
|
+
"required": true,
|
|
37616
|
+
"schema": {
|
|
37617
|
+
"type": "object",
|
|
37618
|
+
"properties": {
|
|
37619
|
+
"kind": {
|
|
37620
|
+
"const": "block"
|
|
37621
|
+
},
|
|
37622
|
+
"nodeType": {
|
|
37623
|
+
"const": "listItem"
|
|
37624
|
+
},
|
|
37625
|
+
"nodeId": {
|
|
37626
|
+
"type": "string"
|
|
37627
|
+
}
|
|
37628
|
+
},
|
|
37629
|
+
"required": [
|
|
37630
|
+
"kind",
|
|
37631
|
+
"nodeType",
|
|
37632
|
+
"nodeId"
|
|
37633
|
+
]
|
|
37634
|
+
}
|
|
37635
|
+
},
|
|
37636
|
+
{
|
|
37637
|
+
"name": "kind",
|
|
37638
|
+
"kind": "flag",
|
|
37639
|
+
"type": "string",
|
|
37640
|
+
"required": true,
|
|
37641
|
+
"schema": {
|
|
37642
|
+
"oneOf": [
|
|
37643
|
+
{
|
|
37644
|
+
"const": "ordered"
|
|
37645
|
+
},
|
|
37646
|
+
{
|
|
37647
|
+
"const": "bullet"
|
|
37648
|
+
}
|
|
37649
|
+
]
|
|
37650
|
+
}
|
|
37651
|
+
},
|
|
37652
|
+
{
|
|
37653
|
+
"name": "continuity",
|
|
37654
|
+
"kind": "flag",
|
|
37655
|
+
"type": "string",
|
|
37656
|
+
"schema": {
|
|
37657
|
+
"oneOf": [
|
|
37658
|
+
{
|
|
37659
|
+
"const": "preserve"
|
|
37660
|
+
},
|
|
37661
|
+
{
|
|
37662
|
+
"const": "none"
|
|
37663
|
+
}
|
|
37664
|
+
]
|
|
37665
|
+
}
|
|
37666
|
+
}
|
|
37667
|
+
],
|
|
37668
|
+
"constraints": null,
|
|
37669
|
+
"mutates": true,
|
|
37670
|
+
"idempotency": "conditional",
|
|
37671
|
+
"supportsTrackedMode": false,
|
|
37672
|
+
"supportsDryRun": true,
|
|
37673
|
+
"inputSchema": {
|
|
37674
|
+
"additionalProperties": false,
|
|
37675
|
+
"properties": {
|
|
37676
|
+
"continuity": {
|
|
37677
|
+
"enum": [
|
|
37678
|
+
"preserve",
|
|
37679
|
+
"none"
|
|
37680
|
+
]
|
|
37681
|
+
},
|
|
37682
|
+
"kind": {
|
|
37683
|
+
"enum": [
|
|
37684
|
+
"ordered",
|
|
37685
|
+
"bullet"
|
|
37686
|
+
]
|
|
37687
|
+
},
|
|
37688
|
+
"target": {
|
|
37689
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37690
|
+
}
|
|
37691
|
+
},
|
|
37692
|
+
"required": [
|
|
37693
|
+
"target",
|
|
37694
|
+
"kind"
|
|
37695
|
+
],
|
|
37696
|
+
"type": "object"
|
|
37697
|
+
},
|
|
37698
|
+
"outputSchema": {
|
|
37699
|
+
"oneOf": [
|
|
37700
|
+
{
|
|
37701
|
+
"additionalProperties": false,
|
|
37702
|
+
"properties": {
|
|
37703
|
+
"item": {
|
|
37704
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37705
|
+
},
|
|
37706
|
+
"success": {
|
|
37707
|
+
"const": true
|
|
37708
|
+
}
|
|
37709
|
+
},
|
|
37710
|
+
"required": [
|
|
37711
|
+
"success",
|
|
37712
|
+
"item"
|
|
37713
|
+
],
|
|
37714
|
+
"type": "object"
|
|
37715
|
+
},
|
|
37716
|
+
{
|
|
37717
|
+
"additionalProperties": false,
|
|
37718
|
+
"properties": {
|
|
37719
|
+
"failure": {
|
|
37720
|
+
"additionalProperties": false,
|
|
37721
|
+
"properties": {
|
|
37722
|
+
"code": {
|
|
37723
|
+
"enum": [
|
|
37724
|
+
"NO_OP",
|
|
37725
|
+
"INVALID_TARGET",
|
|
37726
|
+
"INVALID_INPUT"
|
|
37727
|
+
]
|
|
37728
|
+
},
|
|
37729
|
+
"details": {},
|
|
37730
|
+
"message": {
|
|
37731
|
+
"type": "string"
|
|
37732
|
+
}
|
|
37733
|
+
},
|
|
37734
|
+
"required": [
|
|
37735
|
+
"code",
|
|
37736
|
+
"message"
|
|
37737
|
+
],
|
|
37738
|
+
"type": "object"
|
|
37739
|
+
},
|
|
37740
|
+
"success": {
|
|
37741
|
+
"const": false
|
|
37742
|
+
}
|
|
37743
|
+
},
|
|
37744
|
+
"required": [
|
|
37745
|
+
"success",
|
|
37746
|
+
"failure"
|
|
37747
|
+
],
|
|
37748
|
+
"type": "object"
|
|
37749
|
+
}
|
|
37750
|
+
]
|
|
37751
|
+
},
|
|
37752
|
+
"successSchema": {
|
|
37753
|
+
"additionalProperties": false,
|
|
37754
|
+
"properties": {
|
|
37755
|
+
"item": {
|
|
37756
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37757
|
+
},
|
|
37758
|
+
"success": {
|
|
37759
|
+
"const": true
|
|
37760
|
+
}
|
|
37761
|
+
},
|
|
37762
|
+
"required": [
|
|
37763
|
+
"success",
|
|
37764
|
+
"item"
|
|
37765
|
+
],
|
|
37766
|
+
"type": "object"
|
|
37767
|
+
},
|
|
37768
|
+
"failureSchema": {
|
|
37769
|
+
"additionalProperties": false,
|
|
37770
|
+
"properties": {
|
|
37771
|
+
"failure": {
|
|
37772
|
+
"additionalProperties": false,
|
|
37773
|
+
"properties": {
|
|
37774
|
+
"code": {
|
|
37775
|
+
"enum": [
|
|
37776
|
+
"NO_OP",
|
|
37777
|
+
"INVALID_TARGET",
|
|
37778
|
+
"INVALID_INPUT"
|
|
37779
|
+
]
|
|
37780
|
+
},
|
|
37781
|
+
"details": {},
|
|
37782
|
+
"message": {
|
|
37783
|
+
"type": "string"
|
|
37784
|
+
}
|
|
37785
|
+
},
|
|
37786
|
+
"required": [
|
|
37787
|
+
"code",
|
|
37788
|
+
"message"
|
|
37789
|
+
],
|
|
37790
|
+
"type": "object"
|
|
37791
|
+
},
|
|
37792
|
+
"success": {
|
|
37793
|
+
"const": false
|
|
37794
|
+
}
|
|
37795
|
+
},
|
|
37796
|
+
"required": [
|
|
37797
|
+
"success",
|
|
37798
|
+
"failure"
|
|
37799
|
+
],
|
|
37800
|
+
"type": "object"
|
|
37801
|
+
}
|
|
37802
|
+
},
|
|
37549
37803
|
"doc.lists.captureTemplate": {
|
|
37550
37804
|
"operationId": "doc.lists.captureTemplate",
|
|
37551
37805
|
"command": "lists capture-template",
|
|
@@ -58176,6 +58430,41 @@ const CONTRACT = {
|
|
|
58176
58430
|
],
|
|
58177
58431
|
"type": "object"
|
|
58178
58432
|
},
|
|
58433
|
+
"lists.setType": {
|
|
58434
|
+
"additionalProperties": false,
|
|
58435
|
+
"properties": {
|
|
58436
|
+
"available": {
|
|
58437
|
+
"type": "boolean"
|
|
58438
|
+
},
|
|
58439
|
+
"dryRun": {
|
|
58440
|
+
"type": "boolean"
|
|
58441
|
+
},
|
|
58442
|
+
"reasons": {
|
|
58443
|
+
"items": {
|
|
58444
|
+
"enum": [
|
|
58445
|
+
"COMMAND_UNAVAILABLE",
|
|
58446
|
+
"HELPER_UNAVAILABLE",
|
|
58447
|
+
"OPERATION_UNAVAILABLE",
|
|
58448
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
58449
|
+
"DRY_RUN_UNAVAILABLE",
|
|
58450
|
+
"NAMESPACE_UNAVAILABLE",
|
|
58451
|
+
"STYLES_PART_MISSING",
|
|
58452
|
+
"COLLABORATION_ACTIVE"
|
|
58453
|
+
]
|
|
58454
|
+
},
|
|
58455
|
+
"type": "array"
|
|
58456
|
+
},
|
|
58457
|
+
"tracked": {
|
|
58458
|
+
"type": "boolean"
|
|
58459
|
+
}
|
|
58460
|
+
},
|
|
58461
|
+
"required": [
|
|
58462
|
+
"available",
|
|
58463
|
+
"tracked",
|
|
58464
|
+
"dryRun"
|
|
58465
|
+
],
|
|
58466
|
+
"type": "object"
|
|
58467
|
+
},
|
|
58179
58468
|
"lists.setValue": {
|
|
58180
58469
|
"additionalProperties": false,
|
|
58181
58470
|
"properties": {
|
|
@@ -61129,6 +61418,7 @@ const CONTRACT = {
|
|
|
61129
61418
|
"lists.convertToText",
|
|
61130
61419
|
"lists.applyTemplate",
|
|
61131
61420
|
"lists.applyPreset",
|
|
61421
|
+
"lists.setType",
|
|
61132
61422
|
"lists.captureTemplate",
|
|
61133
61423
|
"lists.setLevelNumbering",
|
|
61134
61424
|
"lists.setLevelBullet",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/generated/contract.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,GAAG,EAAE;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,aAAa,EAAE,MAAM,EAAE,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/generated/contract.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,GAAG,EAAE;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,aAAa,EAAE,MAAM,EAAE,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,QAAQ,EAAE,QAimnFtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC,MAAM,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC"}
|
|
@@ -37563,6 +37563,260 @@ export const CONTRACT = {
|
|
|
37563
37563
|
"type": "object"
|
|
37564
37564
|
}
|
|
37565
37565
|
},
|
|
37566
|
+
"doc.lists.setType": {
|
|
37567
|
+
"operationId": "doc.lists.setType",
|
|
37568
|
+
"command": "lists set-type",
|
|
37569
|
+
"commandTokens": [
|
|
37570
|
+
"lists",
|
|
37571
|
+
"set-type"
|
|
37572
|
+
],
|
|
37573
|
+
"category": "lists",
|
|
37574
|
+
"description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
|
|
37575
|
+
"requiresDocumentContext": true,
|
|
37576
|
+
"docRequirement": "optional",
|
|
37577
|
+
"intentName": "set_list_type",
|
|
37578
|
+
"params": [
|
|
37579
|
+
{
|
|
37580
|
+
"name": "doc",
|
|
37581
|
+
"kind": "doc",
|
|
37582
|
+
"type": "string"
|
|
37583
|
+
},
|
|
37584
|
+
{
|
|
37585
|
+
"name": "sessionId",
|
|
37586
|
+
"kind": "flag",
|
|
37587
|
+
"type": "string",
|
|
37588
|
+
"flag": "session"
|
|
37589
|
+
},
|
|
37590
|
+
{
|
|
37591
|
+
"name": "out",
|
|
37592
|
+
"kind": "flag",
|
|
37593
|
+
"type": "string",
|
|
37594
|
+
"agentVisible": false
|
|
37595
|
+
},
|
|
37596
|
+
{
|
|
37597
|
+
"name": "force",
|
|
37598
|
+
"kind": "flag",
|
|
37599
|
+
"type": "boolean"
|
|
37600
|
+
},
|
|
37601
|
+
{
|
|
37602
|
+
"name": "expectedRevision",
|
|
37603
|
+
"kind": "flag",
|
|
37604
|
+
"type": "number",
|
|
37605
|
+
"flag": "expected-revision",
|
|
37606
|
+
"agentVisible": false
|
|
37607
|
+
},
|
|
37608
|
+
{
|
|
37609
|
+
"name": "changeMode",
|
|
37610
|
+
"kind": "flag",
|
|
37611
|
+
"type": "string",
|
|
37612
|
+
"flag": "change-mode",
|
|
37613
|
+
"schema": {
|
|
37614
|
+
"enum": [
|
|
37615
|
+
"direct",
|
|
37616
|
+
"tracked"
|
|
37617
|
+
]
|
|
37618
|
+
}
|
|
37619
|
+
},
|
|
37620
|
+
{
|
|
37621
|
+
"name": "dryRun",
|
|
37622
|
+
"kind": "flag",
|
|
37623
|
+
"type": "boolean",
|
|
37624
|
+
"flag": "dry-run",
|
|
37625
|
+
"agentVisible": false
|
|
37626
|
+
},
|
|
37627
|
+
{
|
|
37628
|
+
"name": "target",
|
|
37629
|
+
"kind": "jsonFlag",
|
|
37630
|
+
"type": "json",
|
|
37631
|
+
"flag": "target-json",
|
|
37632
|
+
"required": true,
|
|
37633
|
+
"schema": {
|
|
37634
|
+
"type": "object",
|
|
37635
|
+
"properties": {
|
|
37636
|
+
"kind": {
|
|
37637
|
+
"const": "block"
|
|
37638
|
+
},
|
|
37639
|
+
"nodeType": {
|
|
37640
|
+
"const": "listItem"
|
|
37641
|
+
},
|
|
37642
|
+
"nodeId": {
|
|
37643
|
+
"type": "string"
|
|
37644
|
+
}
|
|
37645
|
+
},
|
|
37646
|
+
"required": [
|
|
37647
|
+
"kind",
|
|
37648
|
+
"nodeType",
|
|
37649
|
+
"nodeId"
|
|
37650
|
+
]
|
|
37651
|
+
}
|
|
37652
|
+
},
|
|
37653
|
+
{
|
|
37654
|
+
"name": "kind",
|
|
37655
|
+
"kind": "flag",
|
|
37656
|
+
"type": "string",
|
|
37657
|
+
"required": true,
|
|
37658
|
+
"schema": {
|
|
37659
|
+
"oneOf": [
|
|
37660
|
+
{
|
|
37661
|
+
"const": "ordered"
|
|
37662
|
+
},
|
|
37663
|
+
{
|
|
37664
|
+
"const": "bullet"
|
|
37665
|
+
}
|
|
37666
|
+
]
|
|
37667
|
+
}
|
|
37668
|
+
},
|
|
37669
|
+
{
|
|
37670
|
+
"name": "continuity",
|
|
37671
|
+
"kind": "flag",
|
|
37672
|
+
"type": "string",
|
|
37673
|
+
"schema": {
|
|
37674
|
+
"oneOf": [
|
|
37675
|
+
{
|
|
37676
|
+
"const": "preserve"
|
|
37677
|
+
},
|
|
37678
|
+
{
|
|
37679
|
+
"const": "none"
|
|
37680
|
+
}
|
|
37681
|
+
]
|
|
37682
|
+
}
|
|
37683
|
+
}
|
|
37684
|
+
],
|
|
37685
|
+
"constraints": null,
|
|
37686
|
+
"mutates": true,
|
|
37687
|
+
"idempotency": "conditional",
|
|
37688
|
+
"supportsTrackedMode": false,
|
|
37689
|
+
"supportsDryRun": true,
|
|
37690
|
+
"inputSchema": {
|
|
37691
|
+
"additionalProperties": false,
|
|
37692
|
+
"properties": {
|
|
37693
|
+
"continuity": {
|
|
37694
|
+
"enum": [
|
|
37695
|
+
"preserve",
|
|
37696
|
+
"none"
|
|
37697
|
+
]
|
|
37698
|
+
},
|
|
37699
|
+
"kind": {
|
|
37700
|
+
"enum": [
|
|
37701
|
+
"ordered",
|
|
37702
|
+
"bullet"
|
|
37703
|
+
]
|
|
37704
|
+
},
|
|
37705
|
+
"target": {
|
|
37706
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37707
|
+
}
|
|
37708
|
+
},
|
|
37709
|
+
"required": [
|
|
37710
|
+
"target",
|
|
37711
|
+
"kind"
|
|
37712
|
+
],
|
|
37713
|
+
"type": "object"
|
|
37714
|
+
},
|
|
37715
|
+
"outputSchema": {
|
|
37716
|
+
"oneOf": [
|
|
37717
|
+
{
|
|
37718
|
+
"additionalProperties": false,
|
|
37719
|
+
"properties": {
|
|
37720
|
+
"item": {
|
|
37721
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37722
|
+
},
|
|
37723
|
+
"success": {
|
|
37724
|
+
"const": true
|
|
37725
|
+
}
|
|
37726
|
+
},
|
|
37727
|
+
"required": [
|
|
37728
|
+
"success",
|
|
37729
|
+
"item"
|
|
37730
|
+
],
|
|
37731
|
+
"type": "object"
|
|
37732
|
+
},
|
|
37733
|
+
{
|
|
37734
|
+
"additionalProperties": false,
|
|
37735
|
+
"properties": {
|
|
37736
|
+
"failure": {
|
|
37737
|
+
"additionalProperties": false,
|
|
37738
|
+
"properties": {
|
|
37739
|
+
"code": {
|
|
37740
|
+
"enum": [
|
|
37741
|
+
"NO_OP",
|
|
37742
|
+
"INVALID_TARGET",
|
|
37743
|
+
"INVALID_INPUT"
|
|
37744
|
+
]
|
|
37745
|
+
},
|
|
37746
|
+
"details": {},
|
|
37747
|
+
"message": {
|
|
37748
|
+
"type": "string"
|
|
37749
|
+
}
|
|
37750
|
+
},
|
|
37751
|
+
"required": [
|
|
37752
|
+
"code",
|
|
37753
|
+
"message"
|
|
37754
|
+
],
|
|
37755
|
+
"type": "object"
|
|
37756
|
+
},
|
|
37757
|
+
"success": {
|
|
37758
|
+
"const": false
|
|
37759
|
+
}
|
|
37760
|
+
},
|
|
37761
|
+
"required": [
|
|
37762
|
+
"success",
|
|
37763
|
+
"failure"
|
|
37764
|
+
],
|
|
37765
|
+
"type": "object"
|
|
37766
|
+
}
|
|
37767
|
+
]
|
|
37768
|
+
},
|
|
37769
|
+
"successSchema": {
|
|
37770
|
+
"additionalProperties": false,
|
|
37771
|
+
"properties": {
|
|
37772
|
+
"item": {
|
|
37773
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
37774
|
+
},
|
|
37775
|
+
"success": {
|
|
37776
|
+
"const": true
|
|
37777
|
+
}
|
|
37778
|
+
},
|
|
37779
|
+
"required": [
|
|
37780
|
+
"success",
|
|
37781
|
+
"item"
|
|
37782
|
+
],
|
|
37783
|
+
"type": "object"
|
|
37784
|
+
},
|
|
37785
|
+
"failureSchema": {
|
|
37786
|
+
"additionalProperties": false,
|
|
37787
|
+
"properties": {
|
|
37788
|
+
"failure": {
|
|
37789
|
+
"additionalProperties": false,
|
|
37790
|
+
"properties": {
|
|
37791
|
+
"code": {
|
|
37792
|
+
"enum": [
|
|
37793
|
+
"NO_OP",
|
|
37794
|
+
"INVALID_TARGET",
|
|
37795
|
+
"INVALID_INPUT"
|
|
37796
|
+
]
|
|
37797
|
+
},
|
|
37798
|
+
"details": {},
|
|
37799
|
+
"message": {
|
|
37800
|
+
"type": "string"
|
|
37801
|
+
}
|
|
37802
|
+
},
|
|
37803
|
+
"required": [
|
|
37804
|
+
"code",
|
|
37805
|
+
"message"
|
|
37806
|
+
],
|
|
37807
|
+
"type": "object"
|
|
37808
|
+
},
|
|
37809
|
+
"success": {
|
|
37810
|
+
"const": false
|
|
37811
|
+
}
|
|
37812
|
+
},
|
|
37813
|
+
"required": [
|
|
37814
|
+
"success",
|
|
37815
|
+
"failure"
|
|
37816
|
+
],
|
|
37817
|
+
"type": "object"
|
|
37818
|
+
}
|
|
37819
|
+
},
|
|
37566
37820
|
"doc.lists.captureTemplate": {
|
|
37567
37821
|
"operationId": "doc.lists.captureTemplate",
|
|
37568
37822
|
"command": "lists capture-template",
|
|
@@ -58193,6 +58447,41 @@ export const CONTRACT = {
|
|
|
58193
58447
|
],
|
|
58194
58448
|
"type": "object"
|
|
58195
58449
|
},
|
|
58450
|
+
"lists.setType": {
|
|
58451
|
+
"additionalProperties": false,
|
|
58452
|
+
"properties": {
|
|
58453
|
+
"available": {
|
|
58454
|
+
"type": "boolean"
|
|
58455
|
+
},
|
|
58456
|
+
"dryRun": {
|
|
58457
|
+
"type": "boolean"
|
|
58458
|
+
},
|
|
58459
|
+
"reasons": {
|
|
58460
|
+
"items": {
|
|
58461
|
+
"enum": [
|
|
58462
|
+
"COMMAND_UNAVAILABLE",
|
|
58463
|
+
"HELPER_UNAVAILABLE",
|
|
58464
|
+
"OPERATION_UNAVAILABLE",
|
|
58465
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
58466
|
+
"DRY_RUN_UNAVAILABLE",
|
|
58467
|
+
"NAMESPACE_UNAVAILABLE",
|
|
58468
|
+
"STYLES_PART_MISSING",
|
|
58469
|
+
"COLLABORATION_ACTIVE"
|
|
58470
|
+
]
|
|
58471
|
+
},
|
|
58472
|
+
"type": "array"
|
|
58473
|
+
},
|
|
58474
|
+
"tracked": {
|
|
58475
|
+
"type": "boolean"
|
|
58476
|
+
}
|
|
58477
|
+
},
|
|
58478
|
+
"required": [
|
|
58479
|
+
"available",
|
|
58480
|
+
"tracked",
|
|
58481
|
+
"dryRun"
|
|
58482
|
+
],
|
|
58483
|
+
"type": "object"
|
|
58484
|
+
},
|
|
58196
58485
|
"lists.setValue": {
|
|
58197
58486
|
"additionalProperties": false,
|
|
58198
58487
|
"properties": {
|
|
@@ -61146,6 +61435,7 @@ export const CONTRACT = {
|
|
|
61146
61435
|
"lists.convertToText",
|
|
61147
61436
|
"lists.applyTemplate",
|
|
61148
61437
|
"lists.applyPreset",
|
|
61438
|
+
"lists.setType",
|
|
61149
61439
|
"lists.captureTemplate",
|
|
61150
61440
|
"lists.setLevelNumbering",
|
|
61151
61441
|
"lists.setLevelBullet",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/sdk",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"typescript": "^5.9.2"
|
|
26
26
|
},
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"@superdoc-dev/sdk-darwin-
|
|
29
|
-
"@superdoc-dev/sdk-linux-
|
|
30
|
-
"@superdoc-dev/sdk-
|
|
31
|
-
"@superdoc-dev/sdk-
|
|
32
|
-
"@superdoc-dev/sdk-darwin-
|
|
28
|
+
"@superdoc-dev/sdk-darwin-x64": "1.0.0-alpha.35",
|
|
29
|
+
"@superdoc-dev/sdk-linux-x64": "1.0.0-alpha.35",
|
|
30
|
+
"@superdoc-dev/sdk-linux-arm64": "1.0.0-alpha.35",
|
|
31
|
+
"@superdoc-dev/sdk-windows-x64": "1.0.0-alpha.35",
|
|
32
|
+
"@superdoc-dev/sdk-darwin-arm64": "1.0.0-alpha.35"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|