@superdoc-dev/sdk 1.3.0-next.14 → 1.3.0-next.15

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.
@@ -83832,7 +83832,7 @@ const CONTRACT = {
83832
83832
  ],
83833
83833
  "type": "object"
83834
83834
  },
83835
- "query.match": {
83835
+ "permissionRanges.create": {
83836
83836
  "additionalProperties": false,
83837
83837
  "properties": {
83838
83838
  "available": {
@@ -83867,7 +83867,7 @@ const CONTRACT = {
83867
83867
  ],
83868
83868
  "type": "object"
83869
83869
  },
83870
- "ranges.resolve": {
83870
+ "permissionRanges.get": {
83871
83871
  "additionalProperties": false,
83872
83872
  "properties": {
83873
83873
  "available": {
@@ -83902,7 +83902,7 @@ const CONTRACT = {
83902
83902
  ],
83903
83903
  "type": "object"
83904
83904
  },
83905
- "replace": {
83905
+ "permissionRanges.list": {
83906
83906
  "additionalProperties": false,
83907
83907
  "properties": {
83908
83908
  "available": {
@@ -83937,7 +83937,7 @@ const CONTRACT = {
83937
83937
  ],
83938
83938
  "type": "object"
83939
83939
  },
83940
- "sections.clearHeaderFooterRef": {
83940
+ "permissionRanges.remove": {
83941
83941
  "additionalProperties": false,
83942
83942
  "properties": {
83943
83943
  "available": {
@@ -83972,7 +83972,7 @@ const CONTRACT = {
83972
83972
  ],
83973
83973
  "type": "object"
83974
83974
  },
83975
- "sections.clearPageBorders": {
83975
+ "permissionRanges.updatePrincipal": {
83976
83976
  "additionalProperties": false,
83977
83977
  "properties": {
83978
83978
  "available": {
@@ -84007,7 +84007,7 @@ const CONTRACT = {
84007
84007
  ],
84008
84008
  "type": "object"
84009
84009
  },
84010
- "sections.get": {
84010
+ "protection.clearEditingRestriction": {
84011
84011
  "additionalProperties": false,
84012
84012
  "properties": {
84013
84013
  "available": {
@@ -84042,7 +84042,7 @@ const CONTRACT = {
84042
84042
  ],
84043
84043
  "type": "object"
84044
84044
  },
84045
- "sections.list": {
84045
+ "protection.get": {
84046
84046
  "additionalProperties": false,
84047
84047
  "properties": {
84048
84048
  "available": {
@@ -84077,7 +84077,7 @@ const CONTRACT = {
84077
84077
  ],
84078
84078
  "type": "object"
84079
84079
  },
84080
- "sections.setBreakType": {
84080
+ "protection.setEditingRestriction": {
84081
84081
  "additionalProperties": false,
84082
84082
  "properties": {
84083
84083
  "available": {
@@ -84112,7 +84112,7 @@ const CONTRACT = {
84112
84112
  ],
84113
84113
  "type": "object"
84114
84114
  },
84115
- "sections.setColumns": {
84115
+ "query.match": {
84116
84116
  "additionalProperties": false,
84117
84117
  "properties": {
84118
84118
  "available": {
@@ -84147,7 +84147,7 @@ const CONTRACT = {
84147
84147
  ],
84148
84148
  "type": "object"
84149
84149
  },
84150
- "sections.setHeaderFooterMargins": {
84150
+ "ranges.resolve": {
84151
84151
  "additionalProperties": false,
84152
84152
  "properties": {
84153
84153
  "available": {
@@ -84182,7 +84182,7 @@ const CONTRACT = {
84182
84182
  ],
84183
84183
  "type": "object"
84184
84184
  },
84185
- "sections.setHeaderFooterRef": {
84185
+ "replace": {
84186
84186
  "additionalProperties": false,
84187
84187
  "properties": {
84188
84188
  "available": {
@@ -84217,7 +84217,7 @@ const CONTRACT = {
84217
84217
  ],
84218
84218
  "type": "object"
84219
84219
  },
84220
- "sections.setLineNumbering": {
84220
+ "sections.clearHeaderFooterRef": {
84221
84221
  "additionalProperties": false,
84222
84222
  "properties": {
84223
84223
  "available": {
@@ -84252,7 +84252,7 @@ const CONTRACT = {
84252
84252
  ],
84253
84253
  "type": "object"
84254
84254
  },
84255
- "sections.setLinkToPrevious": {
84255
+ "sections.clearPageBorders": {
84256
84256
  "additionalProperties": false,
84257
84257
  "properties": {
84258
84258
  "available": {
@@ -84287,7 +84287,7 @@ const CONTRACT = {
84287
84287
  ],
84288
84288
  "type": "object"
84289
84289
  },
84290
- "sections.setOddEvenHeadersFooters": {
84290
+ "sections.get": {
84291
84291
  "additionalProperties": false,
84292
84292
  "properties": {
84293
84293
  "available": {
@@ -84322,7 +84322,7 @@ const CONTRACT = {
84322
84322
  ],
84323
84323
  "type": "object"
84324
84324
  },
84325
- "sections.setPageBorders": {
84325
+ "sections.list": {
84326
84326
  "additionalProperties": false,
84327
84327
  "properties": {
84328
84328
  "available": {
@@ -84357,7 +84357,7 @@ const CONTRACT = {
84357
84357
  ],
84358
84358
  "type": "object"
84359
84359
  },
84360
- "sections.setPageMargins": {
84360
+ "sections.setBreakType": {
84361
84361
  "additionalProperties": false,
84362
84362
  "properties": {
84363
84363
  "available": {
@@ -84392,7 +84392,7 @@ const CONTRACT = {
84392
84392
  ],
84393
84393
  "type": "object"
84394
84394
  },
84395
- "sections.setPageNumbering": {
84395
+ "sections.setColumns": {
84396
84396
  "additionalProperties": false,
84397
84397
  "properties": {
84398
84398
  "available": {
@@ -84427,7 +84427,7 @@ const CONTRACT = {
84427
84427
  ],
84428
84428
  "type": "object"
84429
84429
  },
84430
- "sections.setPageSetup": {
84430
+ "sections.setHeaderFooterMargins": {
84431
84431
  "additionalProperties": false,
84432
84432
  "properties": {
84433
84433
  "available": {
@@ -84462,7 +84462,7 @@ const CONTRACT = {
84462
84462
  ],
84463
84463
  "type": "object"
84464
84464
  },
84465
- "sections.setSectionDirection": {
84465
+ "sections.setHeaderFooterRef": {
84466
84466
  "additionalProperties": false,
84467
84467
  "properties": {
84468
84468
  "available": {
@@ -84497,7 +84497,7 @@ const CONTRACT = {
84497
84497
  ],
84498
84498
  "type": "object"
84499
84499
  },
84500
- "sections.setTitlePage": {
84500
+ "sections.setLineNumbering": {
84501
84501
  "additionalProperties": false,
84502
84502
  "properties": {
84503
84503
  "available": {
@@ -84532,7 +84532,7 @@ const CONTRACT = {
84532
84532
  ],
84533
84533
  "type": "object"
84534
84534
  },
84535
- "sections.setVerticalAlign": {
84535
+ "sections.setLinkToPrevious": {
84536
84536
  "additionalProperties": false,
84537
84537
  "properties": {
84538
84538
  "available": {
@@ -84567,7 +84567,7 @@ const CONTRACT = {
84567
84567
  ],
84568
84568
  "type": "object"
84569
84569
  },
84570
- "styles.apply": {
84570
+ "sections.setOddEvenHeadersFooters": {
84571
84571
  "additionalProperties": false,
84572
84572
  "properties": {
84573
84573
  "available": {
@@ -84602,7 +84602,7 @@ const CONTRACT = {
84602
84602
  ],
84603
84603
  "type": "object"
84604
84604
  },
84605
- "styles.paragraph.clearStyle": {
84605
+ "sections.setPageBorders": {
84606
84606
  "additionalProperties": false,
84607
84607
  "properties": {
84608
84608
  "available": {
@@ -84637,7 +84637,7 @@ const CONTRACT = {
84637
84637
  ],
84638
84638
  "type": "object"
84639
84639
  },
84640
- "styles.paragraph.setStyle": {
84640
+ "sections.setPageMargins": {
84641
84641
  "additionalProperties": false,
84642
84642
  "properties": {
84643
84643
  "available": {
@@ -84672,7 +84672,7 @@ const CONTRACT = {
84672
84672
  ],
84673
84673
  "type": "object"
84674
84674
  },
84675
- "tables.applyBorderPreset": {
84675
+ "sections.setPageNumbering": {
84676
84676
  "additionalProperties": false,
84677
84677
  "properties": {
84678
84678
  "available": {
@@ -84707,7 +84707,7 @@ const CONTRACT = {
84707
84707
  ],
84708
84708
  "type": "object"
84709
84709
  },
84710
- "tables.applyStyle": {
84710
+ "sections.setPageSetup": {
84711
84711
  "additionalProperties": false,
84712
84712
  "properties": {
84713
84713
  "available": {
@@ -84742,7 +84742,7 @@ const CONTRACT = {
84742
84742
  ],
84743
84743
  "type": "object"
84744
84744
  },
84745
- "tables.clearBorder": {
84745
+ "sections.setSectionDirection": {
84746
84746
  "additionalProperties": false,
84747
84747
  "properties": {
84748
84748
  "available": {
@@ -84777,7 +84777,7 @@ const CONTRACT = {
84777
84777
  ],
84778
84778
  "type": "object"
84779
84779
  },
84780
- "tables.clearCellSpacing": {
84780
+ "sections.setTitlePage": {
84781
84781
  "additionalProperties": false,
84782
84782
  "properties": {
84783
84783
  "available": {
@@ -84812,7 +84812,7 @@ const CONTRACT = {
84812
84812
  ],
84813
84813
  "type": "object"
84814
84814
  },
84815
- "tables.clearContents": {
84815
+ "sections.setVerticalAlign": {
84816
84816
  "additionalProperties": false,
84817
84817
  "properties": {
84818
84818
  "available": {
@@ -84847,7 +84847,7 @@ const CONTRACT = {
84847
84847
  ],
84848
84848
  "type": "object"
84849
84849
  },
84850
- "tables.clearDefaultStyle": {
84850
+ "styles.apply": {
84851
84851
  "additionalProperties": false,
84852
84852
  "properties": {
84853
84853
  "available": {
@@ -84882,7 +84882,7 @@ const CONTRACT = {
84882
84882
  ],
84883
84883
  "type": "object"
84884
84884
  },
84885
- "tables.clearShading": {
84885
+ "styles.paragraph.clearStyle": {
84886
84886
  "additionalProperties": false,
84887
84887
  "properties": {
84888
84888
  "available": {
@@ -84917,7 +84917,7 @@ const CONTRACT = {
84917
84917
  ],
84918
84918
  "type": "object"
84919
84919
  },
84920
- "tables.clearStyle": {
84920
+ "styles.paragraph.setStyle": {
84921
84921
  "additionalProperties": false,
84922
84922
  "properties": {
84923
84923
  "available": {
@@ -84952,7 +84952,7 @@ const CONTRACT = {
84952
84952
  ],
84953
84953
  "type": "object"
84954
84954
  },
84955
- "tables.convertFromText": {
84955
+ "tables.applyBorderPreset": {
84956
84956
  "additionalProperties": false,
84957
84957
  "properties": {
84958
84958
  "available": {
@@ -84987,7 +84987,7 @@ const CONTRACT = {
84987
84987
  ],
84988
84988
  "type": "object"
84989
84989
  },
84990
- "tables.convertToText": {
84990
+ "tables.applyStyle": {
84991
84991
  "additionalProperties": false,
84992
84992
  "properties": {
84993
84993
  "available": {
@@ -85022,7 +85022,7 @@ const CONTRACT = {
85022
85022
  ],
85023
85023
  "type": "object"
85024
85024
  },
85025
- "tables.delete": {
85025
+ "tables.clearBorder": {
85026
85026
  "additionalProperties": false,
85027
85027
  "properties": {
85028
85028
  "available": {
@@ -85057,7 +85057,7 @@ const CONTRACT = {
85057
85057
  ],
85058
85058
  "type": "object"
85059
85059
  },
85060
- "tables.deleteCell": {
85060
+ "tables.clearCellSpacing": {
85061
85061
  "additionalProperties": false,
85062
85062
  "properties": {
85063
85063
  "available": {
@@ -85092,7 +85092,7 @@ const CONTRACT = {
85092
85092
  ],
85093
85093
  "type": "object"
85094
85094
  },
85095
- "tables.deleteColumn": {
85095
+ "tables.clearContents": {
85096
85096
  "additionalProperties": false,
85097
85097
  "properties": {
85098
85098
  "available": {
@@ -85127,7 +85127,7 @@ const CONTRACT = {
85127
85127
  ],
85128
85128
  "type": "object"
85129
85129
  },
85130
- "tables.deleteRow": {
85130
+ "tables.clearDefaultStyle": {
85131
85131
  "additionalProperties": false,
85132
85132
  "properties": {
85133
85133
  "available": {
@@ -85162,7 +85162,7 @@ const CONTRACT = {
85162
85162
  ],
85163
85163
  "type": "object"
85164
85164
  },
85165
- "tables.distributeColumns": {
85165
+ "tables.clearShading": {
85166
85166
  "additionalProperties": false,
85167
85167
  "properties": {
85168
85168
  "available": {
@@ -85197,7 +85197,7 @@ const CONTRACT = {
85197
85197
  ],
85198
85198
  "type": "object"
85199
85199
  },
85200
- "tables.distributeRows": {
85200
+ "tables.clearStyle": {
85201
85201
  "additionalProperties": false,
85202
85202
  "properties": {
85203
85203
  "available": {
@@ -85232,7 +85232,7 @@ const CONTRACT = {
85232
85232
  ],
85233
85233
  "type": "object"
85234
85234
  },
85235
- "tables.get": {
85235
+ "tables.convertFromText": {
85236
85236
  "additionalProperties": false,
85237
85237
  "properties": {
85238
85238
  "available": {
@@ -85267,7 +85267,7 @@ const CONTRACT = {
85267
85267
  ],
85268
85268
  "type": "object"
85269
85269
  },
85270
- "tables.getCells": {
85270
+ "tables.convertToText": {
85271
85271
  "additionalProperties": false,
85272
85272
  "properties": {
85273
85273
  "available": {
@@ -85302,7 +85302,7 @@ const CONTRACT = {
85302
85302
  ],
85303
85303
  "type": "object"
85304
85304
  },
85305
- "tables.getProperties": {
85305
+ "tables.delete": {
85306
85306
  "additionalProperties": false,
85307
85307
  "properties": {
85308
85308
  "available": {
@@ -85337,7 +85337,7 @@ const CONTRACT = {
85337
85337
  ],
85338
85338
  "type": "object"
85339
85339
  },
85340
- "tables.getStyles": {
85340
+ "tables.deleteCell": {
85341
85341
  "additionalProperties": false,
85342
85342
  "properties": {
85343
85343
  "available": {
@@ -85372,7 +85372,7 @@ const CONTRACT = {
85372
85372
  ],
85373
85373
  "type": "object"
85374
85374
  },
85375
- "tables.insertCell": {
85375
+ "tables.deleteColumn": {
85376
85376
  "additionalProperties": false,
85377
85377
  "properties": {
85378
85378
  "available": {
@@ -85407,7 +85407,7 @@ const CONTRACT = {
85407
85407
  ],
85408
85408
  "type": "object"
85409
85409
  },
85410
- "tables.insertColumn": {
85410
+ "tables.deleteRow": {
85411
85411
  "additionalProperties": false,
85412
85412
  "properties": {
85413
85413
  "available": {
@@ -85442,7 +85442,7 @@ const CONTRACT = {
85442
85442
  ],
85443
85443
  "type": "object"
85444
85444
  },
85445
- "tables.insertRow": {
85445
+ "tables.distributeColumns": {
85446
85446
  "additionalProperties": false,
85447
85447
  "properties": {
85448
85448
  "available": {
@@ -85477,7 +85477,7 @@ const CONTRACT = {
85477
85477
  ],
85478
85478
  "type": "object"
85479
85479
  },
85480
- "tables.mergeCells": {
85480
+ "tables.distributeRows": {
85481
85481
  "additionalProperties": false,
85482
85482
  "properties": {
85483
85483
  "available": {
@@ -85512,7 +85512,7 @@ const CONTRACT = {
85512
85512
  ],
85513
85513
  "type": "object"
85514
85514
  },
85515
- "tables.move": {
85515
+ "tables.get": {
85516
85516
  "additionalProperties": false,
85517
85517
  "properties": {
85518
85518
  "available": {
@@ -85547,7 +85547,7 @@ const CONTRACT = {
85547
85547
  ],
85548
85548
  "type": "object"
85549
85549
  },
85550
- "tables.setAltText": {
85550
+ "tables.getCells": {
85551
85551
  "additionalProperties": false,
85552
85552
  "properties": {
85553
85553
  "available": {
@@ -85582,7 +85582,7 @@ const CONTRACT = {
85582
85582
  ],
85583
85583
  "type": "object"
85584
85584
  },
85585
- "tables.setBorder": {
85585
+ "tables.getProperties": {
85586
85586
  "additionalProperties": false,
85587
85587
  "properties": {
85588
85588
  "available": {
@@ -85617,7 +85617,7 @@ const CONTRACT = {
85617
85617
  ],
85618
85618
  "type": "object"
85619
85619
  },
85620
- "tables.setBorders": {
85620
+ "tables.getStyles": {
85621
85621
  "additionalProperties": false,
85622
85622
  "properties": {
85623
85623
  "available": {
@@ -85652,7 +85652,7 @@ const CONTRACT = {
85652
85652
  ],
85653
85653
  "type": "object"
85654
85654
  },
85655
- "tables.setCellPadding": {
85655
+ "tables.insertCell": {
85656
85656
  "additionalProperties": false,
85657
85657
  "properties": {
85658
85658
  "available": {
@@ -85687,7 +85687,7 @@ const CONTRACT = {
85687
85687
  ],
85688
85688
  "type": "object"
85689
85689
  },
85690
- "tables.setCellProperties": {
85690
+ "tables.insertColumn": {
85691
85691
  "additionalProperties": false,
85692
85692
  "properties": {
85693
85693
  "available": {
@@ -85722,7 +85722,7 @@ const CONTRACT = {
85722
85722
  ],
85723
85723
  "type": "object"
85724
85724
  },
85725
- "tables.setCellSpacing": {
85725
+ "tables.insertRow": {
85726
85726
  "additionalProperties": false,
85727
85727
  "properties": {
85728
85728
  "available": {
@@ -85757,7 +85757,7 @@ const CONTRACT = {
85757
85757
  ],
85758
85758
  "type": "object"
85759
85759
  },
85760
- "tables.setColumnWidth": {
85760
+ "tables.mergeCells": {
85761
85761
  "additionalProperties": false,
85762
85762
  "properties": {
85763
85763
  "available": {
@@ -85792,7 +85792,7 @@ const CONTRACT = {
85792
85792
  ],
85793
85793
  "type": "object"
85794
85794
  },
85795
- "tables.setDefaultStyle": {
85795
+ "tables.move": {
85796
85796
  "additionalProperties": false,
85797
85797
  "properties": {
85798
85798
  "available": {
@@ -85827,7 +85827,7 @@ const CONTRACT = {
85827
85827
  ],
85828
85828
  "type": "object"
85829
85829
  },
85830
- "tables.setLayout": {
85830
+ "tables.setAltText": {
85831
85831
  "additionalProperties": false,
85832
85832
  "properties": {
85833
85833
  "available": {
@@ -85862,7 +85862,7 @@ const CONTRACT = {
85862
85862
  ],
85863
85863
  "type": "object"
85864
85864
  },
85865
- "tables.setRowHeight": {
85865
+ "tables.setBorder": {
85866
85866
  "additionalProperties": false,
85867
85867
  "properties": {
85868
85868
  "available": {
@@ -85897,7 +85897,7 @@ const CONTRACT = {
85897
85897
  ],
85898
85898
  "type": "object"
85899
85899
  },
85900
- "tables.setRowOptions": {
85900
+ "tables.setBorders": {
85901
85901
  "additionalProperties": false,
85902
85902
  "properties": {
85903
85903
  "available": {
@@ -85932,7 +85932,7 @@ const CONTRACT = {
85932
85932
  ],
85933
85933
  "type": "object"
85934
85934
  },
85935
- "tables.setShading": {
85935
+ "tables.setCellPadding": {
85936
85936
  "additionalProperties": false,
85937
85937
  "properties": {
85938
85938
  "available": {
@@ -85967,7 +85967,7 @@ const CONTRACT = {
85967
85967
  ],
85968
85968
  "type": "object"
85969
85969
  },
85970
- "tables.setStyle": {
85970
+ "tables.setCellProperties": {
85971
85971
  "additionalProperties": false,
85972
85972
  "properties": {
85973
85973
  "available": {
@@ -86002,7 +86002,7 @@ const CONTRACT = {
86002
86002
  ],
86003
86003
  "type": "object"
86004
86004
  },
86005
- "tables.setStyleOption": {
86005
+ "tables.setCellSpacing": {
86006
86006
  "additionalProperties": false,
86007
86007
  "properties": {
86008
86008
  "available": {
@@ -86037,7 +86037,7 @@ const CONTRACT = {
86037
86037
  ],
86038
86038
  "type": "object"
86039
86039
  },
86040
- "tables.setTableOptions": {
86040
+ "tables.setColumnWidth": {
86041
86041
  "additionalProperties": false,
86042
86042
  "properties": {
86043
86043
  "available": {
@@ -86072,7 +86072,7 @@ const CONTRACT = {
86072
86072
  ],
86073
86073
  "type": "object"
86074
86074
  },
86075
- "tables.setTablePadding": {
86075
+ "tables.setDefaultStyle": {
86076
86076
  "additionalProperties": false,
86077
86077
  "properties": {
86078
86078
  "available": {
@@ -86107,7 +86107,7 @@ const CONTRACT = {
86107
86107
  ],
86108
86108
  "type": "object"
86109
86109
  },
86110
- "tables.sort": {
86110
+ "tables.setLayout": {
86111
86111
  "additionalProperties": false,
86112
86112
  "properties": {
86113
86113
  "available": {
@@ -86142,7 +86142,7 @@ const CONTRACT = {
86142
86142
  ],
86143
86143
  "type": "object"
86144
86144
  },
86145
- "tables.split": {
86145
+ "tables.setRowHeight": {
86146
86146
  "additionalProperties": false,
86147
86147
  "properties": {
86148
86148
  "available": {
@@ -86177,7 +86177,7 @@ const CONTRACT = {
86177
86177
  ],
86178
86178
  "type": "object"
86179
86179
  },
86180
- "tables.splitCell": {
86180
+ "tables.setRowOptions": {
86181
86181
  "additionalProperties": false,
86182
86182
  "properties": {
86183
86183
  "available": {
@@ -86212,7 +86212,7 @@ const CONTRACT = {
86212
86212
  ],
86213
86213
  "type": "object"
86214
86214
  },
86215
- "tables.unmergeCells": {
86215
+ "tables.setShading": {
86216
86216
  "additionalProperties": false,
86217
86217
  "properties": {
86218
86218
  "available": {
@@ -86247,7 +86247,287 @@ const CONTRACT = {
86247
86247
  ],
86248
86248
  "type": "object"
86249
86249
  },
86250
- "toc.configure": {
86250
+ "tables.setStyle": {
86251
+ "additionalProperties": false,
86252
+ "properties": {
86253
+ "available": {
86254
+ "type": "boolean"
86255
+ },
86256
+ "dryRun": {
86257
+ "type": "boolean"
86258
+ },
86259
+ "reasons": {
86260
+ "items": {
86261
+ "enum": [
86262
+ "COMMAND_UNAVAILABLE",
86263
+ "HELPER_UNAVAILABLE",
86264
+ "OPERATION_UNAVAILABLE",
86265
+ "TRACKED_MODE_UNAVAILABLE",
86266
+ "DRY_RUN_UNAVAILABLE",
86267
+ "NAMESPACE_UNAVAILABLE",
86268
+ "STYLES_PART_MISSING",
86269
+ "COLLABORATION_ACTIVE"
86270
+ ]
86271
+ },
86272
+ "type": "array"
86273
+ },
86274
+ "tracked": {
86275
+ "type": "boolean"
86276
+ }
86277
+ },
86278
+ "required": [
86279
+ "available",
86280
+ "tracked",
86281
+ "dryRun"
86282
+ ],
86283
+ "type": "object"
86284
+ },
86285
+ "tables.setStyleOption": {
86286
+ "additionalProperties": false,
86287
+ "properties": {
86288
+ "available": {
86289
+ "type": "boolean"
86290
+ },
86291
+ "dryRun": {
86292
+ "type": "boolean"
86293
+ },
86294
+ "reasons": {
86295
+ "items": {
86296
+ "enum": [
86297
+ "COMMAND_UNAVAILABLE",
86298
+ "HELPER_UNAVAILABLE",
86299
+ "OPERATION_UNAVAILABLE",
86300
+ "TRACKED_MODE_UNAVAILABLE",
86301
+ "DRY_RUN_UNAVAILABLE",
86302
+ "NAMESPACE_UNAVAILABLE",
86303
+ "STYLES_PART_MISSING",
86304
+ "COLLABORATION_ACTIVE"
86305
+ ]
86306
+ },
86307
+ "type": "array"
86308
+ },
86309
+ "tracked": {
86310
+ "type": "boolean"
86311
+ }
86312
+ },
86313
+ "required": [
86314
+ "available",
86315
+ "tracked",
86316
+ "dryRun"
86317
+ ],
86318
+ "type": "object"
86319
+ },
86320
+ "tables.setTableOptions": {
86321
+ "additionalProperties": false,
86322
+ "properties": {
86323
+ "available": {
86324
+ "type": "boolean"
86325
+ },
86326
+ "dryRun": {
86327
+ "type": "boolean"
86328
+ },
86329
+ "reasons": {
86330
+ "items": {
86331
+ "enum": [
86332
+ "COMMAND_UNAVAILABLE",
86333
+ "HELPER_UNAVAILABLE",
86334
+ "OPERATION_UNAVAILABLE",
86335
+ "TRACKED_MODE_UNAVAILABLE",
86336
+ "DRY_RUN_UNAVAILABLE",
86337
+ "NAMESPACE_UNAVAILABLE",
86338
+ "STYLES_PART_MISSING",
86339
+ "COLLABORATION_ACTIVE"
86340
+ ]
86341
+ },
86342
+ "type": "array"
86343
+ },
86344
+ "tracked": {
86345
+ "type": "boolean"
86346
+ }
86347
+ },
86348
+ "required": [
86349
+ "available",
86350
+ "tracked",
86351
+ "dryRun"
86352
+ ],
86353
+ "type": "object"
86354
+ },
86355
+ "tables.setTablePadding": {
86356
+ "additionalProperties": false,
86357
+ "properties": {
86358
+ "available": {
86359
+ "type": "boolean"
86360
+ },
86361
+ "dryRun": {
86362
+ "type": "boolean"
86363
+ },
86364
+ "reasons": {
86365
+ "items": {
86366
+ "enum": [
86367
+ "COMMAND_UNAVAILABLE",
86368
+ "HELPER_UNAVAILABLE",
86369
+ "OPERATION_UNAVAILABLE",
86370
+ "TRACKED_MODE_UNAVAILABLE",
86371
+ "DRY_RUN_UNAVAILABLE",
86372
+ "NAMESPACE_UNAVAILABLE",
86373
+ "STYLES_PART_MISSING",
86374
+ "COLLABORATION_ACTIVE"
86375
+ ]
86376
+ },
86377
+ "type": "array"
86378
+ },
86379
+ "tracked": {
86380
+ "type": "boolean"
86381
+ }
86382
+ },
86383
+ "required": [
86384
+ "available",
86385
+ "tracked",
86386
+ "dryRun"
86387
+ ],
86388
+ "type": "object"
86389
+ },
86390
+ "tables.sort": {
86391
+ "additionalProperties": false,
86392
+ "properties": {
86393
+ "available": {
86394
+ "type": "boolean"
86395
+ },
86396
+ "dryRun": {
86397
+ "type": "boolean"
86398
+ },
86399
+ "reasons": {
86400
+ "items": {
86401
+ "enum": [
86402
+ "COMMAND_UNAVAILABLE",
86403
+ "HELPER_UNAVAILABLE",
86404
+ "OPERATION_UNAVAILABLE",
86405
+ "TRACKED_MODE_UNAVAILABLE",
86406
+ "DRY_RUN_UNAVAILABLE",
86407
+ "NAMESPACE_UNAVAILABLE",
86408
+ "STYLES_PART_MISSING",
86409
+ "COLLABORATION_ACTIVE"
86410
+ ]
86411
+ },
86412
+ "type": "array"
86413
+ },
86414
+ "tracked": {
86415
+ "type": "boolean"
86416
+ }
86417
+ },
86418
+ "required": [
86419
+ "available",
86420
+ "tracked",
86421
+ "dryRun"
86422
+ ],
86423
+ "type": "object"
86424
+ },
86425
+ "tables.split": {
86426
+ "additionalProperties": false,
86427
+ "properties": {
86428
+ "available": {
86429
+ "type": "boolean"
86430
+ },
86431
+ "dryRun": {
86432
+ "type": "boolean"
86433
+ },
86434
+ "reasons": {
86435
+ "items": {
86436
+ "enum": [
86437
+ "COMMAND_UNAVAILABLE",
86438
+ "HELPER_UNAVAILABLE",
86439
+ "OPERATION_UNAVAILABLE",
86440
+ "TRACKED_MODE_UNAVAILABLE",
86441
+ "DRY_RUN_UNAVAILABLE",
86442
+ "NAMESPACE_UNAVAILABLE",
86443
+ "STYLES_PART_MISSING",
86444
+ "COLLABORATION_ACTIVE"
86445
+ ]
86446
+ },
86447
+ "type": "array"
86448
+ },
86449
+ "tracked": {
86450
+ "type": "boolean"
86451
+ }
86452
+ },
86453
+ "required": [
86454
+ "available",
86455
+ "tracked",
86456
+ "dryRun"
86457
+ ],
86458
+ "type": "object"
86459
+ },
86460
+ "tables.splitCell": {
86461
+ "additionalProperties": false,
86462
+ "properties": {
86463
+ "available": {
86464
+ "type": "boolean"
86465
+ },
86466
+ "dryRun": {
86467
+ "type": "boolean"
86468
+ },
86469
+ "reasons": {
86470
+ "items": {
86471
+ "enum": [
86472
+ "COMMAND_UNAVAILABLE",
86473
+ "HELPER_UNAVAILABLE",
86474
+ "OPERATION_UNAVAILABLE",
86475
+ "TRACKED_MODE_UNAVAILABLE",
86476
+ "DRY_RUN_UNAVAILABLE",
86477
+ "NAMESPACE_UNAVAILABLE",
86478
+ "STYLES_PART_MISSING",
86479
+ "COLLABORATION_ACTIVE"
86480
+ ]
86481
+ },
86482
+ "type": "array"
86483
+ },
86484
+ "tracked": {
86485
+ "type": "boolean"
86486
+ }
86487
+ },
86488
+ "required": [
86489
+ "available",
86490
+ "tracked",
86491
+ "dryRun"
86492
+ ],
86493
+ "type": "object"
86494
+ },
86495
+ "tables.unmergeCells": {
86496
+ "additionalProperties": false,
86497
+ "properties": {
86498
+ "available": {
86499
+ "type": "boolean"
86500
+ },
86501
+ "dryRun": {
86502
+ "type": "boolean"
86503
+ },
86504
+ "reasons": {
86505
+ "items": {
86506
+ "enum": [
86507
+ "COMMAND_UNAVAILABLE",
86508
+ "HELPER_UNAVAILABLE",
86509
+ "OPERATION_UNAVAILABLE",
86510
+ "TRACKED_MODE_UNAVAILABLE",
86511
+ "DRY_RUN_UNAVAILABLE",
86512
+ "NAMESPACE_UNAVAILABLE",
86513
+ "STYLES_PART_MISSING",
86514
+ "COLLABORATION_ACTIVE"
86515
+ ]
86516
+ },
86517
+ "type": "array"
86518
+ },
86519
+ "tracked": {
86520
+ "type": "boolean"
86521
+ }
86522
+ },
86523
+ "required": [
86524
+ "available",
86525
+ "tracked",
86526
+ "dryRun"
86527
+ ],
86528
+ "type": "object"
86529
+ },
86530
+ "toc.configure": {
86251
86531
  "additionalProperties": false,
86252
86532
  "properties": {
86253
86533
  "available": {
@@ -87080,7 +87360,15 @@ const CONTRACT = {
87080
87360
  "authorities.entries.remove",
87081
87361
  "diff.capture",
87082
87362
  "diff.compare",
87083
- "diff.apply"
87363
+ "diff.apply",
87364
+ "protection.get",
87365
+ "protection.setEditingRestriction",
87366
+ "protection.clearEditingRestriction",
87367
+ "permissionRanges.list",
87368
+ "permissionRanges.get",
87369
+ "permissionRanges.create",
87370
+ "permissionRanges.remove",
87371
+ "permissionRanges.updatePrincipal"
87084
87372
  ],
87085
87373
  "type": "object"
87086
87374
  },
@@ -144114,6 +144402,1028 @@ const CONTRACT = {
144114
144402
  },
144115
144403
  "skipAsATool": true
144116
144404
  },
144405
+ "doc.protection.get": {
144406
+ "operationId": "doc.protection.get",
144407
+ "sdkSurface": "document",
144408
+ "command": "protection get",
144409
+ "commandTokens": [
144410
+ "protection",
144411
+ "get"
144412
+ ],
144413
+ "category": "core",
144414
+ "description": "Read the current document protection state including editing restrictions, write protection, and read-only recommendation.",
144415
+ "requiresDocumentContext": true,
144416
+ "docRequirement": "optional",
144417
+ "responseEnvelopeKey": null,
144418
+ "params": [
144419
+ {
144420
+ "name": "doc",
144421
+ "kind": "doc",
144422
+ "type": "string",
144423
+ "description": "Document path. Optional when a session is already open."
144424
+ },
144425
+ {
144426
+ "name": "sessionId",
144427
+ "kind": "flag",
144428
+ "type": "string",
144429
+ "flag": "session",
144430
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144431
+ }
144432
+ ],
144433
+ "constraints": null,
144434
+ "mutates": false,
144435
+ "idempotency": "idempotent",
144436
+ "supportsTrackedMode": false,
144437
+ "supportsDryRun": false,
144438
+ "inputSchema": {
144439
+ "additionalProperties": false,
144440
+ "properties": {},
144441
+ "type": "object"
144442
+ },
144443
+ "outputSchema": {
144444
+ "additionalProperties": false,
144445
+ "properties": {
144446
+ "editingRestriction": {
144447
+ "additionalProperties": false,
144448
+ "properties": {
144449
+ "enforced": {
144450
+ "type": "boolean"
144451
+ },
144452
+ "formattingRestricted": {
144453
+ "type": "boolean"
144454
+ },
144455
+ "mode": {
144456
+ "enum": [
144457
+ "none",
144458
+ "readOnly",
144459
+ "comments",
144460
+ "trackedChanges",
144461
+ "forms"
144462
+ ],
144463
+ "type": "string"
144464
+ },
144465
+ "passwordProtected": {
144466
+ "type": "boolean"
144467
+ },
144468
+ "runtimeEnforced": {
144469
+ "type": "boolean"
144470
+ }
144471
+ },
144472
+ "required": [
144473
+ "mode",
144474
+ "enforced",
144475
+ "runtimeEnforced",
144476
+ "passwordProtected",
144477
+ "formattingRestricted"
144478
+ ],
144479
+ "type": "object"
144480
+ },
144481
+ "readOnlyRecommended": {
144482
+ "type": "boolean"
144483
+ },
144484
+ "writeProtection": {
144485
+ "additionalProperties": false,
144486
+ "properties": {
144487
+ "enabled": {
144488
+ "type": "boolean"
144489
+ },
144490
+ "passwordProtected": {
144491
+ "type": "boolean"
144492
+ }
144493
+ },
144494
+ "required": [
144495
+ "enabled",
144496
+ "passwordProtected"
144497
+ ],
144498
+ "type": "object"
144499
+ }
144500
+ },
144501
+ "required": [
144502
+ "editingRestriction",
144503
+ "writeProtection",
144504
+ "readOnlyRecommended"
144505
+ ],
144506
+ "type": "object"
144507
+ },
144508
+ "skipAsATool": true
144509
+ },
144510
+ "doc.protection.setEditingRestriction": {
144511
+ "operationId": "doc.protection.setEditingRestriction",
144512
+ "sdkSurface": "document",
144513
+ "command": "protection set-editing-restriction",
144514
+ "commandTokens": [
144515
+ "protection",
144516
+ "set-editing-restriction"
144517
+ ],
144518
+ "category": "core",
144519
+ "description": "Enable Word-style editing restriction on the document. Only readOnly mode is supported in v1.",
144520
+ "requiresDocumentContext": true,
144521
+ "docRequirement": "optional",
144522
+ "responseEnvelopeKey": null,
144523
+ "params": [
144524
+ {
144525
+ "name": "doc",
144526
+ "kind": "doc",
144527
+ "type": "string",
144528
+ "description": "Document path. Optional when a session is already open."
144529
+ },
144530
+ {
144531
+ "name": "sessionId",
144532
+ "kind": "flag",
144533
+ "type": "string",
144534
+ "flag": "session",
144535
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144536
+ },
144537
+ {
144538
+ "name": "out",
144539
+ "kind": "flag",
144540
+ "type": "string",
144541
+ "agentVisible": false
144542
+ },
144543
+ {
144544
+ "name": "force",
144545
+ "kind": "flag",
144546
+ "type": "boolean",
144547
+ "description": "Bypass confirmation checks."
144548
+ },
144549
+ {
144550
+ "name": "expectedRevision",
144551
+ "kind": "flag",
144552
+ "type": "number",
144553
+ "flag": "expected-revision",
144554
+ "agentVisible": false
144555
+ },
144556
+ {
144557
+ "name": "changeMode",
144558
+ "kind": "flag",
144559
+ "type": "string",
144560
+ "flag": "change-mode",
144561
+ "schema": {
144562
+ "enum": [
144563
+ "direct",
144564
+ "tracked"
144565
+ ]
144566
+ },
144567
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
144568
+ },
144569
+ {
144570
+ "name": "dryRun",
144571
+ "kind": "flag",
144572
+ "type": "boolean",
144573
+ "flag": "dry-run",
144574
+ "description": "Preview the result without applying changes."
144575
+ },
144576
+ {
144577
+ "name": "mode",
144578
+ "kind": "flag",
144579
+ "type": "string",
144580
+ "required": true,
144581
+ "schema": {
144582
+ "oneOf": [
144583
+ {
144584
+ "const": "readOnly"
144585
+ }
144586
+ ]
144587
+ }
144588
+ },
144589
+ {
144590
+ "name": "formattingRestricted",
144591
+ "kind": "flag",
144592
+ "type": "boolean",
144593
+ "flag": "formatting-restricted"
144594
+ }
144595
+ ],
144596
+ "constraints": null,
144597
+ "mutates": true,
144598
+ "idempotency": "idempotent",
144599
+ "supportsTrackedMode": false,
144600
+ "supportsDryRun": true,
144601
+ "inputSchema": {
144602
+ "additionalProperties": false,
144603
+ "properties": {
144604
+ "formattingRestricted": {
144605
+ "type": "boolean"
144606
+ },
144607
+ "mode": {
144608
+ "enum": [
144609
+ "readOnly"
144610
+ ],
144611
+ "type": "string"
144612
+ }
144613
+ },
144614
+ "required": [
144615
+ "mode"
144616
+ ],
144617
+ "type": "object"
144618
+ },
144619
+ "outputSchema": {
144620
+ "type": "object"
144621
+ },
144622
+ "successSchema": {
144623
+ "type": "object"
144624
+ },
144625
+ "failureSchema": {
144626
+ "type": "object"
144627
+ },
144628
+ "skipAsATool": true
144629
+ },
144630
+ "doc.protection.clearEditingRestriction": {
144631
+ "operationId": "doc.protection.clearEditingRestriction",
144632
+ "sdkSurface": "document",
144633
+ "command": "protection clear-editing-restriction",
144634
+ "commandTokens": [
144635
+ "protection",
144636
+ "clear-editing-restriction"
144637
+ ],
144638
+ "category": "core",
144639
+ "description": "Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.",
144640
+ "requiresDocumentContext": true,
144641
+ "docRequirement": "optional",
144642
+ "responseEnvelopeKey": null,
144643
+ "params": [
144644
+ {
144645
+ "name": "doc",
144646
+ "kind": "doc",
144647
+ "type": "string",
144648
+ "description": "Document path. Optional when a session is already open."
144649
+ },
144650
+ {
144651
+ "name": "sessionId",
144652
+ "kind": "flag",
144653
+ "type": "string",
144654
+ "flag": "session",
144655
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144656
+ },
144657
+ {
144658
+ "name": "out",
144659
+ "kind": "flag",
144660
+ "type": "string",
144661
+ "agentVisible": false
144662
+ },
144663
+ {
144664
+ "name": "force",
144665
+ "kind": "flag",
144666
+ "type": "boolean",
144667
+ "description": "Bypass confirmation checks."
144668
+ },
144669
+ {
144670
+ "name": "expectedRevision",
144671
+ "kind": "flag",
144672
+ "type": "number",
144673
+ "flag": "expected-revision",
144674
+ "agentVisible": false
144675
+ },
144676
+ {
144677
+ "name": "changeMode",
144678
+ "kind": "flag",
144679
+ "type": "string",
144680
+ "flag": "change-mode",
144681
+ "schema": {
144682
+ "enum": [
144683
+ "direct",
144684
+ "tracked"
144685
+ ]
144686
+ },
144687
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
144688
+ },
144689
+ {
144690
+ "name": "dryRun",
144691
+ "kind": "flag",
144692
+ "type": "boolean",
144693
+ "flag": "dry-run",
144694
+ "description": "Preview the result without applying changes."
144695
+ }
144696
+ ],
144697
+ "constraints": null,
144698
+ "mutates": true,
144699
+ "idempotency": "idempotent",
144700
+ "supportsTrackedMode": false,
144701
+ "supportsDryRun": true,
144702
+ "inputSchema": {
144703
+ "additionalProperties": false,
144704
+ "properties": {},
144705
+ "type": "object"
144706
+ },
144707
+ "outputSchema": {
144708
+ "type": "object"
144709
+ },
144710
+ "successSchema": {
144711
+ "type": "object"
144712
+ },
144713
+ "failureSchema": {
144714
+ "type": "object"
144715
+ },
144716
+ "skipAsATool": true
144717
+ },
144718
+ "doc.permissionRanges.list": {
144719
+ "operationId": "doc.permissionRanges.list",
144720
+ "sdkSurface": "document",
144721
+ "command": "permission-ranges list",
144722
+ "commandTokens": [
144723
+ "permission-ranges",
144724
+ "list"
144725
+ ],
144726
+ "category": "core",
144727
+ "description": "List all permission ranges in the document. Returns only complete paired ranges (both start and end markers present).",
144728
+ "requiresDocumentContext": true,
144729
+ "docRequirement": "optional",
144730
+ "responseEnvelopeKey": null,
144731
+ "params": [
144732
+ {
144733
+ "name": "doc",
144734
+ "kind": "doc",
144735
+ "type": "string",
144736
+ "description": "Document path. Optional when a session is already open."
144737
+ },
144738
+ {
144739
+ "name": "sessionId",
144740
+ "kind": "flag",
144741
+ "type": "string",
144742
+ "flag": "session",
144743
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144744
+ },
144745
+ {
144746
+ "name": "limit",
144747
+ "kind": "flag",
144748
+ "type": "number"
144749
+ },
144750
+ {
144751
+ "name": "offset",
144752
+ "kind": "flag",
144753
+ "type": "number"
144754
+ }
144755
+ ],
144756
+ "constraints": null,
144757
+ "mutates": false,
144758
+ "idempotency": "idempotent",
144759
+ "supportsTrackedMode": false,
144760
+ "supportsDryRun": false,
144761
+ "inputSchema": {
144762
+ "additionalProperties": false,
144763
+ "properties": {
144764
+ "limit": {
144765
+ "minimum": 1,
144766
+ "type": "integer"
144767
+ },
144768
+ "offset": {
144769
+ "minimum": 0,
144770
+ "type": "integer"
144771
+ }
144772
+ },
144773
+ "type": "object"
144774
+ },
144775
+ "outputSchema": {
144776
+ "type": "object"
144777
+ },
144778
+ "skipAsATool": true
144779
+ },
144780
+ "doc.permissionRanges.get": {
144781
+ "operationId": "doc.permissionRanges.get",
144782
+ "sdkSurface": "document",
144783
+ "command": "permission-ranges get",
144784
+ "commandTokens": [
144785
+ "permission-ranges",
144786
+ "get"
144787
+ ],
144788
+ "category": "core",
144789
+ "description": "Get detailed information about a specific permission range by ID.",
144790
+ "requiresDocumentContext": true,
144791
+ "docRequirement": "optional",
144792
+ "responseEnvelopeKey": null,
144793
+ "params": [
144794
+ {
144795
+ "name": "doc",
144796
+ "kind": "doc",
144797
+ "type": "string",
144798
+ "description": "Document path. Optional when a session is already open."
144799
+ },
144800
+ {
144801
+ "name": "sessionId",
144802
+ "kind": "flag",
144803
+ "type": "string",
144804
+ "flag": "session",
144805
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144806
+ },
144807
+ {
144808
+ "name": "id",
144809
+ "kind": "flag",
144810
+ "type": "string",
144811
+ "required": true
144812
+ }
144813
+ ],
144814
+ "constraints": null,
144815
+ "mutates": false,
144816
+ "idempotency": "idempotent",
144817
+ "supportsTrackedMode": false,
144818
+ "supportsDryRun": false,
144819
+ "inputSchema": {
144820
+ "additionalProperties": false,
144821
+ "properties": {
144822
+ "id": {
144823
+ "type": "string"
144824
+ }
144825
+ },
144826
+ "required": [
144827
+ "id"
144828
+ ],
144829
+ "type": "object"
144830
+ },
144831
+ "outputSchema": {
144832
+ "type": "object"
144833
+ },
144834
+ "skipAsATool": true
144835
+ },
144836
+ "doc.permissionRanges.create": {
144837
+ "operationId": "doc.permissionRanges.create",
144838
+ "sdkSurface": "document",
144839
+ "command": "permission-ranges create",
144840
+ "commandTokens": [
144841
+ "permission-ranges",
144842
+ "create"
144843
+ ],
144844
+ "category": "core",
144845
+ "description": "Create a permission range exception region in the document. Inserts matched permStart/permEnd markers at the target.",
144846
+ "requiresDocumentContext": true,
144847
+ "docRequirement": "optional",
144848
+ "responseEnvelopeKey": null,
144849
+ "params": [
144850
+ {
144851
+ "name": "doc",
144852
+ "kind": "doc",
144853
+ "type": "string",
144854
+ "description": "Document path. Optional when a session is already open."
144855
+ },
144856
+ {
144857
+ "name": "sessionId",
144858
+ "kind": "flag",
144859
+ "type": "string",
144860
+ "flag": "session",
144861
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
144862
+ },
144863
+ {
144864
+ "name": "out",
144865
+ "kind": "flag",
144866
+ "type": "string",
144867
+ "agentVisible": false
144868
+ },
144869
+ {
144870
+ "name": "force",
144871
+ "kind": "flag",
144872
+ "type": "boolean",
144873
+ "description": "Bypass confirmation checks."
144874
+ },
144875
+ {
144876
+ "name": "expectedRevision",
144877
+ "kind": "flag",
144878
+ "type": "number",
144879
+ "flag": "expected-revision",
144880
+ "agentVisible": false
144881
+ },
144882
+ {
144883
+ "name": "changeMode",
144884
+ "kind": "flag",
144885
+ "type": "string",
144886
+ "flag": "change-mode",
144887
+ "schema": {
144888
+ "enum": [
144889
+ "direct",
144890
+ "tracked"
144891
+ ]
144892
+ },
144893
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
144894
+ },
144895
+ {
144896
+ "name": "dryRun",
144897
+ "kind": "flag",
144898
+ "type": "boolean",
144899
+ "flag": "dry-run",
144900
+ "description": "Preview the result without applying changes."
144901
+ },
144902
+ {
144903
+ "name": "target",
144904
+ "kind": "jsonFlag",
144905
+ "type": "json",
144906
+ "flag": "target-json",
144907
+ "required": true,
144908
+ "schema": {
144909
+ "type": "object",
144910
+ "properties": {
144911
+ "kind": {
144912
+ "const": "selection"
144913
+ },
144914
+ "start": {
144915
+ "oneOf": [
144916
+ {
144917
+ "type": "object",
144918
+ "properties": {
144919
+ "kind": {
144920
+ "const": "text"
144921
+ },
144922
+ "blockId": {
144923
+ "type": "string"
144924
+ },
144925
+ "offset": {
144926
+ "type": "number"
144927
+ }
144928
+ },
144929
+ "required": [
144930
+ "kind",
144931
+ "blockId",
144932
+ "offset"
144933
+ ]
144934
+ },
144935
+ {
144936
+ "type": "object",
144937
+ "properties": {
144938
+ "kind": {
144939
+ "const": "nodeEdge"
144940
+ },
144941
+ "node": {
144942
+ "type": "object",
144943
+ "properties": {
144944
+ "kind": {
144945
+ "const": "block"
144946
+ },
144947
+ "nodeType": {
144948
+ "oneOf": [
144949
+ {
144950
+ "const": "paragraph"
144951
+ },
144952
+ {
144953
+ "const": "heading"
144954
+ },
144955
+ {
144956
+ "const": "table"
144957
+ },
144958
+ {
144959
+ "const": "tableOfContents"
144960
+ },
144961
+ {
144962
+ "const": "sdt"
144963
+ },
144964
+ {
144965
+ "const": "image"
144966
+ }
144967
+ ]
144968
+ },
144969
+ "nodeId": {
144970
+ "type": "string"
144971
+ }
144972
+ },
144973
+ "required": [
144974
+ "kind",
144975
+ "nodeType",
144976
+ "nodeId"
144977
+ ]
144978
+ },
144979
+ "edge": {
144980
+ "oneOf": [
144981
+ {
144982
+ "const": "before"
144983
+ },
144984
+ {
144985
+ "const": "after"
144986
+ }
144987
+ ]
144988
+ }
144989
+ },
144990
+ "required": [
144991
+ "kind",
144992
+ "node",
144993
+ "edge"
144994
+ ]
144995
+ }
144996
+ ],
144997
+ "description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
144998
+ },
144999
+ "end": {
145000
+ "oneOf": [
145001
+ {
145002
+ "type": "object",
145003
+ "properties": {
145004
+ "kind": {
145005
+ "const": "text"
145006
+ },
145007
+ "blockId": {
145008
+ "type": "string"
145009
+ },
145010
+ "offset": {
145011
+ "type": "number"
145012
+ }
145013
+ },
145014
+ "required": [
145015
+ "kind",
145016
+ "blockId",
145017
+ "offset"
145018
+ ]
145019
+ },
145020
+ {
145021
+ "type": "object",
145022
+ "properties": {
145023
+ "kind": {
145024
+ "const": "nodeEdge"
145025
+ },
145026
+ "node": {
145027
+ "type": "object",
145028
+ "properties": {
145029
+ "kind": {
145030
+ "const": "block"
145031
+ },
145032
+ "nodeType": {
145033
+ "oneOf": [
145034
+ {
145035
+ "const": "paragraph"
145036
+ },
145037
+ {
145038
+ "const": "heading"
145039
+ },
145040
+ {
145041
+ "const": "table"
145042
+ },
145043
+ {
145044
+ "const": "tableOfContents"
145045
+ },
145046
+ {
145047
+ "const": "sdt"
145048
+ },
145049
+ {
145050
+ "const": "image"
145051
+ }
145052
+ ]
145053
+ },
145054
+ "nodeId": {
145055
+ "type": "string"
145056
+ }
145057
+ },
145058
+ "required": [
145059
+ "kind",
145060
+ "nodeType",
145061
+ "nodeId"
145062
+ ]
145063
+ },
145064
+ "edge": {
145065
+ "oneOf": [
145066
+ {
145067
+ "const": "before"
145068
+ },
145069
+ {
145070
+ "const": "after"
145071
+ }
145072
+ ]
145073
+ }
145074
+ },
145075
+ "required": [
145076
+ "kind",
145077
+ "node",
145078
+ "edge"
145079
+ ]
145080
+ }
145081
+ ],
145082
+ "description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
145083
+ }
145084
+ },
145085
+ "required": [
145086
+ "kind",
145087
+ "start",
145088
+ "end"
145089
+ ]
145090
+ }
145091
+ },
145092
+ {
145093
+ "name": "principal",
145094
+ "kind": "jsonFlag",
145095
+ "type": "json",
145096
+ "flag": "principal-json",
145097
+ "required": true,
145098
+ "schema": {
145099
+ "type": "object",
145100
+ "properties": {
145101
+ "kind": {
145102
+ "oneOf": [
145103
+ {
145104
+ "const": "everyone"
145105
+ },
145106
+ {
145107
+ "const": "editor"
145108
+ }
145109
+ ]
145110
+ },
145111
+ "id": {
145112
+ "type": "string"
145113
+ }
145114
+ },
145115
+ "required": [
145116
+ "kind"
145117
+ ]
145118
+ }
145119
+ },
145120
+ {
145121
+ "name": "id",
145122
+ "kind": "flag",
145123
+ "type": "string"
145124
+ }
145125
+ ],
145126
+ "constraints": null,
145127
+ "mutates": true,
145128
+ "idempotency": "non-idempotent",
145129
+ "supportsTrackedMode": false,
145130
+ "supportsDryRun": true,
145131
+ "inputSchema": {
145132
+ "additionalProperties": false,
145133
+ "properties": {
145134
+ "id": {
145135
+ "type": "string"
145136
+ },
145137
+ "principal": {
145138
+ "additionalProperties": false,
145139
+ "properties": {
145140
+ "id": {
145141
+ "type": "string"
145142
+ },
145143
+ "kind": {
145144
+ "enum": [
145145
+ "everyone",
145146
+ "editor"
145147
+ ],
145148
+ "type": "string"
145149
+ }
145150
+ },
145151
+ "required": [
145152
+ "kind"
145153
+ ],
145154
+ "type": "object"
145155
+ },
145156
+ "target": {
145157
+ "$ref": "#/$defs/SelectionTarget"
145158
+ }
145159
+ },
145160
+ "required": [
145161
+ "target",
145162
+ "principal"
145163
+ ],
145164
+ "type": "object"
145165
+ },
145166
+ "outputSchema": {
145167
+ "type": "object"
145168
+ },
145169
+ "successSchema": {
145170
+ "type": "object"
145171
+ },
145172
+ "failureSchema": {
145173
+ "type": "object"
145174
+ },
145175
+ "skipAsATool": true
145176
+ },
145177
+ "doc.permissionRanges.remove": {
145178
+ "operationId": "doc.permissionRanges.remove",
145179
+ "sdkSurface": "document",
145180
+ "command": "permission-ranges remove",
145181
+ "commandTokens": [
145182
+ "permission-ranges",
145183
+ "remove"
145184
+ ],
145185
+ "category": "core",
145186
+ "description": "Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).",
145187
+ "requiresDocumentContext": true,
145188
+ "docRequirement": "optional",
145189
+ "responseEnvelopeKey": null,
145190
+ "params": [
145191
+ {
145192
+ "name": "doc",
145193
+ "kind": "doc",
145194
+ "type": "string",
145195
+ "description": "Document path. Optional when a session is already open."
145196
+ },
145197
+ {
145198
+ "name": "sessionId",
145199
+ "kind": "flag",
145200
+ "type": "string",
145201
+ "flag": "session",
145202
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
145203
+ },
145204
+ {
145205
+ "name": "out",
145206
+ "kind": "flag",
145207
+ "type": "string",
145208
+ "agentVisible": false
145209
+ },
145210
+ {
145211
+ "name": "force",
145212
+ "kind": "flag",
145213
+ "type": "boolean",
145214
+ "description": "Bypass confirmation checks."
145215
+ },
145216
+ {
145217
+ "name": "expectedRevision",
145218
+ "kind": "flag",
145219
+ "type": "number",
145220
+ "flag": "expected-revision",
145221
+ "agentVisible": false
145222
+ },
145223
+ {
145224
+ "name": "changeMode",
145225
+ "kind": "flag",
145226
+ "type": "string",
145227
+ "flag": "change-mode",
145228
+ "schema": {
145229
+ "enum": [
145230
+ "direct",
145231
+ "tracked"
145232
+ ]
145233
+ },
145234
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
145235
+ },
145236
+ {
145237
+ "name": "dryRun",
145238
+ "kind": "flag",
145239
+ "type": "boolean",
145240
+ "flag": "dry-run",
145241
+ "description": "Preview the result without applying changes."
145242
+ },
145243
+ {
145244
+ "name": "id",
145245
+ "kind": "flag",
145246
+ "type": "string",
145247
+ "required": true
145248
+ }
145249
+ ],
145250
+ "constraints": null,
145251
+ "mutates": true,
145252
+ "idempotency": "idempotent",
145253
+ "supportsTrackedMode": false,
145254
+ "supportsDryRun": true,
145255
+ "inputSchema": {
145256
+ "additionalProperties": false,
145257
+ "properties": {
145258
+ "id": {
145259
+ "type": "string"
145260
+ }
145261
+ },
145262
+ "required": [
145263
+ "id"
145264
+ ],
145265
+ "type": "object"
145266
+ },
145267
+ "outputSchema": {
145268
+ "type": "object"
145269
+ },
145270
+ "successSchema": {
145271
+ "type": "object"
145272
+ },
145273
+ "failureSchema": {
145274
+ "type": "object"
145275
+ },
145276
+ "skipAsATool": true
145277
+ },
145278
+ "doc.permissionRanges.updatePrincipal": {
145279
+ "operationId": "doc.permissionRanges.updatePrincipal",
145280
+ "sdkSurface": "document",
145281
+ "command": "permission-ranges update-principal",
145282
+ "commandTokens": [
145283
+ "permission-ranges",
145284
+ "update-principal"
145285
+ ],
145286
+ "category": "core",
145287
+ "description": "Change which principal is allowed to edit a permission range. Updates the principal fields on the start marker.",
145288
+ "requiresDocumentContext": true,
145289
+ "docRequirement": "optional",
145290
+ "responseEnvelopeKey": null,
145291
+ "params": [
145292
+ {
145293
+ "name": "doc",
145294
+ "kind": "doc",
145295
+ "type": "string",
145296
+ "description": "Document path. Optional when a session is already open."
145297
+ },
145298
+ {
145299
+ "name": "sessionId",
145300
+ "kind": "flag",
145301
+ "type": "string",
145302
+ "flag": "session",
145303
+ "description": "Session ID for multi-session workflows. Optional when only one session is open."
145304
+ },
145305
+ {
145306
+ "name": "out",
145307
+ "kind": "flag",
145308
+ "type": "string",
145309
+ "agentVisible": false
145310
+ },
145311
+ {
145312
+ "name": "force",
145313
+ "kind": "flag",
145314
+ "type": "boolean",
145315
+ "description": "Bypass confirmation checks."
145316
+ },
145317
+ {
145318
+ "name": "expectedRevision",
145319
+ "kind": "flag",
145320
+ "type": "number",
145321
+ "flag": "expected-revision",
145322
+ "agentVisible": false
145323
+ },
145324
+ {
145325
+ "name": "changeMode",
145326
+ "kind": "flag",
145327
+ "type": "string",
145328
+ "flag": "change-mode",
145329
+ "schema": {
145330
+ "enum": [
145331
+ "direct",
145332
+ "tracked"
145333
+ ]
145334
+ },
145335
+ "description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
145336
+ },
145337
+ {
145338
+ "name": "dryRun",
145339
+ "kind": "flag",
145340
+ "type": "boolean",
145341
+ "flag": "dry-run",
145342
+ "description": "Preview the result without applying changes."
145343
+ },
145344
+ {
145345
+ "name": "id",
145346
+ "kind": "flag",
145347
+ "type": "string",
145348
+ "required": true
145349
+ },
145350
+ {
145351
+ "name": "principal",
145352
+ "kind": "jsonFlag",
145353
+ "type": "json",
145354
+ "flag": "principal-json",
145355
+ "required": true,
145356
+ "schema": {
145357
+ "type": "object",
145358
+ "properties": {
145359
+ "kind": {
145360
+ "oneOf": [
145361
+ {
145362
+ "const": "everyone"
145363
+ },
145364
+ {
145365
+ "const": "editor"
145366
+ }
145367
+ ]
145368
+ },
145369
+ "id": {
145370
+ "type": "string"
145371
+ }
145372
+ },
145373
+ "required": [
145374
+ "kind"
145375
+ ]
145376
+ }
145377
+ }
145378
+ ],
145379
+ "constraints": null,
145380
+ "mutates": true,
145381
+ "idempotency": "idempotent",
145382
+ "supportsTrackedMode": false,
145383
+ "supportsDryRun": true,
145384
+ "inputSchema": {
145385
+ "additionalProperties": false,
145386
+ "properties": {
145387
+ "id": {
145388
+ "type": "string"
145389
+ },
145390
+ "principal": {
145391
+ "additionalProperties": false,
145392
+ "properties": {
145393
+ "id": {
145394
+ "type": "string"
145395
+ },
145396
+ "kind": {
145397
+ "enum": [
145398
+ "everyone",
145399
+ "editor"
145400
+ ],
145401
+ "type": "string"
145402
+ }
145403
+ },
145404
+ "required": [
145405
+ "kind"
145406
+ ],
145407
+ "type": "object"
145408
+ }
145409
+ },
145410
+ "required": [
145411
+ "id",
145412
+ "principal"
145413
+ ],
145414
+ "type": "object"
145415
+ },
145416
+ "outputSchema": {
145417
+ "type": "object"
145418
+ },
145419
+ "successSchema": {
145420
+ "type": "object"
145421
+ },
145422
+ "failureSchema": {
145423
+ "type": "object"
145424
+ },
145425
+ "skipAsATool": true
145426
+ },
144117
145427
  "doc.open": {
144118
145428
  "operationId": "doc.open",
144119
145429
  "sdkSurface": "client",