@superdoc/cli 0.44.0-next.4 → 0.44.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +119884 -115521
- package/dist/tools/catalog.json +848 -243
- package/dist/tools/tools.anthropic.json +822 -243
- package/dist/tools/tools.generic.json +822 -243
- package/dist/tools/tools.openai.json +822 -243
- package/dist/tools/tools.vercel.json +822 -243
- package/package.json +9 -9
|
@@ -552,274 +552,770 @@
|
|
|
552
552
|
"additionalProperties": false,
|
|
553
553
|
"description": "Guard returned by capabilities check for this exact HTML or Markdown write. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
554
554
|
},
|
|
555
|
-
"
|
|
555
|
+
"value": {
|
|
556
556
|
"anyOf": [
|
|
557
557
|
{
|
|
558
558
|
"anyOf": [
|
|
559
559
|
{
|
|
560
560
|
"anyOf": [
|
|
561
561
|
{
|
|
562
|
-
"
|
|
563
|
-
|
|
562
|
+
"anyOf": [
|
|
563
|
+
{
|
|
564
|
+
"anyOf": [
|
|
565
|
+
{
|
|
566
|
+
"anyOf": [
|
|
567
|
+
{
|
|
568
|
+
"anyOf": [
|
|
569
|
+
{
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"type": "string",
|
|
574
|
+
"description": "Text content to insert."
|
|
575
|
+
}
|
|
576
|
+
]
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "string",
|
|
580
|
+
"description": "Text content to insert."
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "Text content to insert."
|
|
587
|
+
}
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"type": "string",
|
|
592
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
593
|
+
}
|
|
594
|
+
]
|
|
564
595
|
},
|
|
565
596
|
{
|
|
566
|
-
"type": "
|
|
567
|
-
"
|
|
568
|
-
|
|
569
|
-
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"type": "string",
|
|
604
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"anyOf": [
|
|
610
|
+
{
|
|
611
|
+
"anyOf": [
|
|
612
|
+
{
|
|
613
|
+
"anyOf": [
|
|
614
|
+
{
|
|
570
615
|
"type": "string"
|
|
571
616
|
},
|
|
572
|
-
|
|
573
|
-
"
|
|
574
|
-
"
|
|
617
|
+
{
|
|
618
|
+
"type": "string",
|
|
619
|
+
"description": "HTML or Markdown replacement content."
|
|
575
620
|
}
|
|
576
|
-
},
|
|
577
|
-
"additionalProperties": false,
|
|
578
|
-
"required": [
|
|
579
|
-
"kind",
|
|
580
|
-
"storyType"
|
|
581
621
|
]
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "string",
|
|
625
|
+
"description": "HTML or Markdown replacement content."
|
|
582
626
|
}
|
|
583
|
-
]
|
|
584
|
-
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
627
|
+
]
|
|
585
628
|
},
|
|
586
629
|
{
|
|
587
|
-
"
|
|
588
|
-
"description": "
|
|
630
|
+
"type": "string",
|
|
631
|
+
"description": "HTML or Markdown that replaces the complete main body."
|
|
589
632
|
}
|
|
590
|
-
]
|
|
591
|
-
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"$ref": "#/$defs/DeletableBlockNodeAddress"
|
|
633
|
+
]
|
|
595
634
|
}
|
|
596
635
|
],
|
|
597
|
-
"description": "
|
|
636
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
598
637
|
},
|
|
599
|
-
"
|
|
638
|
+
"type": {
|
|
600
639
|
"anyOf": [
|
|
601
640
|
{
|
|
602
641
|
"anyOf": [
|
|
603
642
|
{
|
|
604
|
-
"
|
|
605
|
-
|
|
643
|
+
"anyOf": [
|
|
644
|
+
{
|
|
645
|
+
"anyOf": [
|
|
646
|
+
{
|
|
647
|
+
"anyOf": [
|
|
648
|
+
{
|
|
649
|
+
"anyOf": [
|
|
650
|
+
{
|
|
651
|
+
"anyOf": [
|
|
652
|
+
{
|
|
653
|
+
"const": "ooxml",
|
|
654
|
+
"type": "string"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"const": "text",
|
|
658
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
659
|
+
"type": "string"
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"const": "text",
|
|
665
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
666
|
+
"type": "string"
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"const": "text",
|
|
672
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
673
|
+
"type": "string"
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"enum": [
|
|
679
|
+
"markdown",
|
|
680
|
+
"html"
|
|
681
|
+
]
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"enum": [
|
|
687
|
+
"markdown",
|
|
688
|
+
"html"
|
|
689
|
+
]
|
|
690
|
+
}
|
|
691
|
+
]
|
|
606
692
|
},
|
|
607
693
|
{
|
|
608
|
-
"
|
|
694
|
+
"enum": [
|
|
695
|
+
"markdown",
|
|
696
|
+
"html"
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
]
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"anyOf": [
|
|
703
|
+
{
|
|
704
|
+
"anyOf": [
|
|
609
705
|
{
|
|
610
|
-
"
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
"const": "story",
|
|
706
|
+
"anyOf": [
|
|
707
|
+
{
|
|
708
|
+
"const": "ooxml",
|
|
614
709
|
"type": "string"
|
|
615
710
|
},
|
|
616
|
-
|
|
617
|
-
"
|
|
618
|
-
|
|
711
|
+
{
|
|
712
|
+
"enum": [
|
|
713
|
+
"html",
|
|
714
|
+
"markdown"
|
|
715
|
+
]
|
|
619
716
|
}
|
|
620
|
-
},
|
|
621
|
-
"required": [
|
|
622
|
-
"kind",
|
|
623
|
-
"storyType"
|
|
624
717
|
]
|
|
625
718
|
},
|
|
626
719
|
{
|
|
627
|
-
"
|
|
628
|
-
|
|
629
|
-
"
|
|
630
|
-
|
|
631
|
-
|
|
720
|
+
"enum": [
|
|
721
|
+
"html",
|
|
722
|
+
"markdown"
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"enum": [
|
|
729
|
+
"html",
|
|
730
|
+
"markdown"
|
|
731
|
+
]
|
|
732
|
+
}
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
737
|
+
},
|
|
738
|
+
"namespaces": {
|
|
739
|
+
"type": "object",
|
|
740
|
+
"additionalProperties": {
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
744
|
+
},
|
|
745
|
+
"sourcePartUri": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
748
|
+
},
|
|
749
|
+
"dependencies": {
|
|
750
|
+
"type": "array",
|
|
751
|
+
"items": {
|
|
752
|
+
"type": "object",
|
|
753
|
+
"properties": {
|
|
754
|
+
"sourcePartUri": {
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
"relationshipId": {
|
|
758
|
+
"type": "string"
|
|
759
|
+
},
|
|
760
|
+
"relationshipType": {
|
|
761
|
+
"type": "string"
|
|
762
|
+
},
|
|
763
|
+
"target": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"targetMode": {
|
|
767
|
+
"enum": [
|
|
768
|
+
"Internal",
|
|
769
|
+
"External"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
"contentType": {
|
|
773
|
+
"oneOf": [
|
|
774
|
+
{
|
|
775
|
+
"type": "string"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"type": "null"
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
"dataBase64": {
|
|
783
|
+
"type": "string"
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"additionalProperties": false,
|
|
787
|
+
"required": [
|
|
788
|
+
"sourcePartUri",
|
|
789
|
+
"relationshipId",
|
|
790
|
+
"relationshipType",
|
|
791
|
+
"target",
|
|
792
|
+
"targetMode",
|
|
793
|
+
"contentType"
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
797
|
+
},
|
|
798
|
+
"target": {
|
|
799
|
+
"anyOf": [
|
|
800
|
+
{
|
|
801
|
+
"anyOf": [
|
|
802
|
+
{
|
|
803
|
+
"anyOf": [
|
|
804
|
+
{
|
|
805
|
+
"anyOf": [
|
|
806
|
+
{
|
|
807
|
+
"anyOf": [
|
|
808
|
+
{
|
|
809
|
+
"anyOf": [
|
|
810
|
+
{
|
|
811
|
+
"oneOf": [
|
|
812
|
+
{
|
|
813
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"$ref": "#/$defs/BlockNodeAddress",
|
|
822
|
+
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"$ref": "#/$defs/SelectionTarget",
|
|
828
|
+
"description": "Selection target: {kind:'selection', start:{kind:'text', blockId, offset}, end:{kind:'text', blockId, offset}}."
|
|
829
|
+
}
|
|
830
|
+
]
|
|
632
831
|
},
|
|
633
|
-
|
|
634
|
-
"
|
|
635
|
-
|
|
832
|
+
{
|
|
833
|
+
"oneOf": [
|
|
834
|
+
{
|
|
835
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
839
|
+
}
|
|
840
|
+
]
|
|
841
|
+
}
|
|
842
|
+
]
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"anyOf": [
|
|
846
|
+
{
|
|
847
|
+
"anyOf": [
|
|
848
|
+
{
|
|
849
|
+
"anyOf": [
|
|
850
|
+
{
|
|
851
|
+
"anyOf": [
|
|
852
|
+
{
|
|
853
|
+
"anyOf": [
|
|
854
|
+
{
|
|
855
|
+
"anyOf": [
|
|
856
|
+
{
|
|
857
|
+
"anyOf": [
|
|
858
|
+
{
|
|
859
|
+
"anyOf": [
|
|
860
|
+
{
|
|
861
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"oneOf": [
|
|
865
|
+
{
|
|
866
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
870
|
+
}
|
|
871
|
+
]
|
|
872
|
+
}
|
|
873
|
+
]
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"oneOf": [
|
|
877
|
+
{
|
|
878
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
}
|
|
885
|
+
]
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"type": "object",
|
|
889
|
+
"properties": {
|
|
890
|
+
"kind": {
|
|
891
|
+
"const": "story",
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
894
|
+
"storyType": {
|
|
895
|
+
"const": "body",
|
|
896
|
+
"type": "string"
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"additionalProperties": false,
|
|
900
|
+
"required": [
|
|
901
|
+
"kind",
|
|
902
|
+
"storyType"
|
|
903
|
+
]
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
909
|
+
}
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"oneOf": [
|
|
914
|
+
{
|
|
915
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"description": "Target block or selection to replace."
|
|
922
|
+
}
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"kind": {
|
|
929
|
+
"const": "story",
|
|
930
|
+
"type": "string"
|
|
931
|
+
},
|
|
932
|
+
"storyType": {
|
|
933
|
+
"const": "body",
|
|
934
|
+
"type": "string"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"additionalProperties": false,
|
|
938
|
+
"required": [
|
|
939
|
+
"kind",
|
|
940
|
+
"storyType"
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
]
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"oneOf": [
|
|
947
|
+
{
|
|
948
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
952
|
+
}
|
|
953
|
+
]
|
|
954
|
+
}
|
|
955
|
+
]
|
|
636
956
|
},
|
|
637
|
-
|
|
957
|
+
{
|
|
638
958
|
"type": "object",
|
|
639
959
|
"properties": {
|
|
640
960
|
"kind": {
|
|
641
|
-
"const": "
|
|
961
|
+
"const": "story",
|
|
642
962
|
"type": "string"
|
|
643
963
|
},
|
|
644
|
-
"
|
|
964
|
+
"storyType": {
|
|
965
|
+
"const": "body",
|
|
645
966
|
"type": "string"
|
|
646
967
|
}
|
|
647
968
|
},
|
|
969
|
+
"additionalProperties": false,
|
|
648
970
|
"required": [
|
|
649
971
|
"kind",
|
|
650
|
-
"
|
|
651
|
-
]
|
|
652
|
-
},
|
|
653
|
-
"headerFooterKind": {
|
|
654
|
-
"enum": [
|
|
655
|
-
"header",
|
|
656
|
-
"footer"
|
|
657
|
-
]
|
|
658
|
-
},
|
|
659
|
-
"variant": {
|
|
660
|
-
"enum": [
|
|
661
|
-
"default",
|
|
662
|
-
"first",
|
|
663
|
-
"even"
|
|
664
|
-
]
|
|
665
|
-
},
|
|
666
|
-
"resolution": {
|
|
667
|
-
"enum": [
|
|
668
|
-
"effective",
|
|
669
|
-
"explicit"
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
|
-
"onWrite": {
|
|
673
|
-
"enum": [
|
|
674
|
-
"materializeIfInherited",
|
|
675
|
-
"editResolvedPart",
|
|
676
|
-
"error"
|
|
972
|
+
"storyType"
|
|
677
973
|
]
|
|
678
974
|
}
|
|
679
|
-
},
|
|
680
|
-
"required": [
|
|
681
|
-
"kind",
|
|
682
|
-
"storyType",
|
|
683
|
-
"section",
|
|
684
|
-
"headerFooterKind",
|
|
685
|
-
"variant"
|
|
686
975
|
]
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"$ref": "#/$defs/SelectionTarget",
|
|
981
|
+
"description": "Selection target: {kind:'selection', start:{kind:'text', blockId, offset}, end:{kind:'text', blockId, offset}}. Use 'ref' instead when you have a search result handle."
|
|
982
|
+
}
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"$ref": "#/$defs/DeletableBlockNodeAddress"
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"description": "Required for action 'delete_block'."
|
|
990
|
+
},
|
|
991
|
+
"in": {
|
|
992
|
+
"$ref": "#/$defs/StoryLocator",
|
|
993
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
994
|
+
},
|
|
995
|
+
"placement": {
|
|
996
|
+
"enum": [
|
|
997
|
+
"before",
|
|
998
|
+
"after",
|
|
999
|
+
"insideStart",
|
|
1000
|
+
"insideEnd"
|
|
1001
|
+
],
|
|
1002
|
+
"description": "Only for action 'insert'. Omit for other actions."
|
|
1003
|
+
},
|
|
1004
|
+
"capture": {
|
|
1005
|
+
"type": "object",
|
|
1006
|
+
"properties": {
|
|
1007
|
+
"formatVersion": {
|
|
1008
|
+
"const": 1,
|
|
1009
|
+
"type": "number"
|
|
1010
|
+
},
|
|
1011
|
+
"snapshotId": {
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"minLength": 1
|
|
1014
|
+
},
|
|
1015
|
+
"at": {
|
|
1016
|
+
"oneOf": [
|
|
1017
|
+
{
|
|
1018
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"type": "object",
|
|
1022
|
+
"properties": {
|
|
1023
|
+
"kind": {
|
|
1024
|
+
"const": "tableCells",
|
|
1025
|
+
"type": "string"
|
|
687
1026
|
},
|
|
688
|
-
{
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"kind": {
|
|
692
|
-
"const": "story",
|
|
693
|
-
"type": "string"
|
|
694
|
-
},
|
|
695
|
-
"storyType": {
|
|
696
|
-
"const": "headerFooterPart",
|
|
697
|
-
"type": "string"
|
|
698
|
-
},
|
|
699
|
-
"refId": {
|
|
700
|
-
"type": "string"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
"required": [
|
|
704
|
-
"kind",
|
|
705
|
-
"storyType",
|
|
706
|
-
"refId"
|
|
707
|
-
]
|
|
1027
|
+
"selectionMode": {
|
|
1028
|
+
"const": "cells",
|
|
1029
|
+
"type": "string"
|
|
708
1030
|
},
|
|
709
|
-
{
|
|
710
|
-
"
|
|
711
|
-
"
|
|
712
|
-
"kind": {
|
|
713
|
-
"const": "story",
|
|
714
|
-
"type": "string"
|
|
715
|
-
},
|
|
716
|
-
"storyType": {
|
|
717
|
-
"const": "footnote",
|
|
718
|
-
"type": "string"
|
|
719
|
-
},
|
|
720
|
-
"noteId": {
|
|
721
|
-
"type": "string"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
"required": [
|
|
725
|
-
"kind",
|
|
726
|
-
"storyType",
|
|
727
|
-
"noteId"
|
|
728
|
-
]
|
|
1031
|
+
"isRectangular": {
|
|
1032
|
+
"const": true,
|
|
1033
|
+
"type": "boolean"
|
|
729
1034
|
},
|
|
730
|
-
{
|
|
1035
|
+
"tableId": {
|
|
1036
|
+
"type": "string"
|
|
1037
|
+
},
|
|
1038
|
+
"start": {
|
|
731
1039
|
"type": "object",
|
|
732
1040
|
"properties": {
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
"type": "string"
|
|
1041
|
+
"rowIndex": {
|
|
1042
|
+
"type": "integer"
|
|
736
1043
|
},
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"type": "string"
|
|
740
|
-
},
|
|
741
|
-
"noteId": {
|
|
742
|
-
"type": "string"
|
|
1044
|
+
"columnIndex": {
|
|
1045
|
+
"type": "integer"
|
|
743
1046
|
}
|
|
744
1047
|
},
|
|
1048
|
+
"additionalProperties": false,
|
|
745
1049
|
"required": [
|
|
746
|
-
"
|
|
747
|
-
"
|
|
748
|
-
"noteId"
|
|
1050
|
+
"rowIndex",
|
|
1051
|
+
"columnIndex"
|
|
749
1052
|
]
|
|
750
1053
|
},
|
|
751
|
-
{
|
|
1054
|
+
"end": {
|
|
752
1055
|
"type": "object",
|
|
753
1056
|
"properties": {
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
"type": "string"
|
|
1057
|
+
"rowIndex": {
|
|
1058
|
+
"type": "integer"
|
|
757
1059
|
},
|
|
758
|
-
"
|
|
759
|
-
"
|
|
760
|
-
"type": "string"
|
|
761
|
-
},
|
|
762
|
-
"textboxId": {
|
|
763
|
-
"type": "string"
|
|
1060
|
+
"columnIndex": {
|
|
1061
|
+
"type": "integer"
|
|
764
1062
|
}
|
|
765
1063
|
},
|
|
1064
|
+
"additionalProperties": false,
|
|
766
1065
|
"required": [
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
"textboxId"
|
|
1066
|
+
"rowIndex",
|
|
1067
|
+
"columnIndex"
|
|
770
1068
|
]
|
|
1069
|
+
},
|
|
1070
|
+
"story": {
|
|
1071
|
+
"$ref": "#/$defs/StoryLocator"
|
|
771
1072
|
}
|
|
772
|
-
|
|
773
|
-
"
|
|
1073
|
+
},
|
|
1074
|
+
"additionalProperties": false,
|
|
1075
|
+
"required": [
|
|
1076
|
+
"kind",
|
|
1077
|
+
"tableId",
|
|
1078
|
+
"start",
|
|
1079
|
+
"end"
|
|
1080
|
+
]
|
|
774
1081
|
}
|
|
775
|
-
]
|
|
776
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1082
|
+
]
|
|
777
1083
|
},
|
|
778
|
-
{
|
|
779
|
-
"
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
1084
|
+
"evaluatedRevision": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"fragment": {
|
|
1088
|
+
"type": "object",
|
|
1089
|
+
"properties": {
|
|
1090
|
+
"placement": {
|
|
1091
|
+
"enum": [
|
|
1092
|
+
"inline",
|
|
1093
|
+
"blocks",
|
|
1094
|
+
"table"
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
"xml": {
|
|
1098
|
+
"type": "string"
|
|
1099
|
+
},
|
|
1100
|
+
"namespaces": {
|
|
1101
|
+
"type": "object",
|
|
1102
|
+
"additionalProperties": {
|
|
1103
|
+
"type": "string"
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"table": {
|
|
1107
|
+
"type": "object",
|
|
1108
|
+
"properties": {
|
|
1109
|
+
"tableId": {
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"gridColumnCount": {
|
|
1113
|
+
"type": "integer"
|
|
1114
|
+
},
|
|
1115
|
+
"cells": {
|
|
1116
|
+
"type": "array",
|
|
1117
|
+
"items": {
|
|
1118
|
+
"type": "object",
|
|
1119
|
+
"properties": {
|
|
1120
|
+
"rowIndex": {
|
|
1121
|
+
"type": "integer"
|
|
1122
|
+
},
|
|
1123
|
+
"columnIndex": {
|
|
1124
|
+
"type": "integer"
|
|
1125
|
+
},
|
|
1126
|
+
"gridSpan": {
|
|
1127
|
+
"type": "integer"
|
|
1128
|
+
},
|
|
1129
|
+
"vMerge": {
|
|
1130
|
+
"enum": [
|
|
1131
|
+
"none",
|
|
1132
|
+
"restart",
|
|
1133
|
+
"continue"
|
|
1134
|
+
]
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"additionalProperties": false,
|
|
1138
|
+
"required": [
|
|
1139
|
+
"rowIndex",
|
|
1140
|
+
"columnIndex",
|
|
1141
|
+
"gridSpan",
|
|
1142
|
+
"vMerge"
|
|
1143
|
+
]
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"additionalProperties": false,
|
|
1148
|
+
"required": [
|
|
1149
|
+
"tableId",
|
|
1150
|
+
"gridColumnCount",
|
|
1151
|
+
"cells"
|
|
1152
|
+
]
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"additionalProperties": false,
|
|
1156
|
+
"required": [
|
|
1157
|
+
"placement",
|
|
1158
|
+
"xml",
|
|
1159
|
+
"namespaces"
|
|
1160
|
+
]
|
|
790
1161
|
},
|
|
791
|
-
{
|
|
792
|
-
"type": "
|
|
793
|
-
"
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
1162
|
+
"source": {
|
|
1163
|
+
"type": "object",
|
|
1164
|
+
"properties": {
|
|
1165
|
+
"story": {
|
|
1166
|
+
"oneOf": [
|
|
1167
|
+
{
|
|
1168
|
+
"$ref": "#/$defs/StoryLocator"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"type": "null"
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1175
|
+
"partUri": {
|
|
806
1176
|
"type": "string"
|
|
807
1177
|
},
|
|
808
|
-
{
|
|
809
|
-
"
|
|
810
|
-
|
|
811
|
-
|
|
1178
|
+
"paragraphStyleId": {
|
|
1179
|
+
"oneOf": [
|
|
1180
|
+
{
|
|
1181
|
+
"type": "string"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"type": "null"
|
|
1185
|
+
}
|
|
812
1186
|
]
|
|
1187
|
+
},
|
|
1188
|
+
"packageRevision": {
|
|
1189
|
+
"type": "string"
|
|
813
1190
|
}
|
|
1191
|
+
},
|
|
1192
|
+
"additionalProperties": false,
|
|
1193
|
+
"required": [
|
|
1194
|
+
"story",
|
|
1195
|
+
"partUri",
|
|
1196
|
+
"paragraphStyleId"
|
|
814
1197
|
]
|
|
815
1198
|
},
|
|
816
|
-
{
|
|
817
|
-
"type": "
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
|
|
1199
|
+
"context": {
|
|
1200
|
+
"type": "object",
|
|
1201
|
+
"properties": {
|
|
1202
|
+
"xml": {
|
|
1203
|
+
"type": "array",
|
|
1204
|
+
"items": {
|
|
1205
|
+
"type": "string"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
"tableMerges": {
|
|
1209
|
+
"type": "array",
|
|
1210
|
+
"items": {
|
|
1211
|
+
"type": "object",
|
|
1212
|
+
"properties": {
|
|
1213
|
+
"selectedRowIndex": {
|
|
1214
|
+
"type": "integer"
|
|
1215
|
+
},
|
|
1216
|
+
"columnIndex": {
|
|
1217
|
+
"type": "integer"
|
|
1218
|
+
},
|
|
1219
|
+
"restartRowIndex": {
|
|
1220
|
+
"type": "integer"
|
|
1221
|
+
},
|
|
1222
|
+
"restartCellPropertiesXml": {
|
|
1223
|
+
"type": "string"
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
"additionalProperties": false,
|
|
1227
|
+
"required": [
|
|
1228
|
+
"selectedRowIndex",
|
|
1229
|
+
"columnIndex",
|
|
1230
|
+
"restartRowIndex",
|
|
1231
|
+
"restartCellPropertiesXml"
|
|
1232
|
+
]
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
"additionalProperties": false,
|
|
1237
|
+
"required": [
|
|
1238
|
+
"xml"
|
|
821
1239
|
]
|
|
1240
|
+
},
|
|
1241
|
+
"dependencies": {
|
|
1242
|
+
"type": "array",
|
|
1243
|
+
"items": {
|
|
1244
|
+
"type": "object",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"sourcePartUri": {
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
},
|
|
1249
|
+
"relationshipId": {
|
|
1250
|
+
"type": "string"
|
|
1251
|
+
},
|
|
1252
|
+
"relationshipType": {
|
|
1253
|
+
"type": "string"
|
|
1254
|
+
},
|
|
1255
|
+
"target": {
|
|
1256
|
+
"type": "string"
|
|
1257
|
+
},
|
|
1258
|
+
"targetMode": {
|
|
1259
|
+
"enum": [
|
|
1260
|
+
"Internal",
|
|
1261
|
+
"External"
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
"contentType": {
|
|
1265
|
+
"oneOf": [
|
|
1266
|
+
{
|
|
1267
|
+
"type": "string"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"type": "null"
|
|
1271
|
+
}
|
|
1272
|
+
]
|
|
1273
|
+
},
|
|
1274
|
+
"dataBase64": {
|
|
1275
|
+
"type": "string"
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
"additionalProperties": false,
|
|
1279
|
+
"required": [
|
|
1280
|
+
"sourcePartUri",
|
|
1281
|
+
"relationshipId",
|
|
1282
|
+
"relationshipType",
|
|
1283
|
+
"target",
|
|
1284
|
+
"targetMode",
|
|
1285
|
+
"contentType"
|
|
1286
|
+
]
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
"diagnostics": {
|
|
1290
|
+
"type": "array",
|
|
1291
|
+
"items": {
|
|
1292
|
+
"type": "object",
|
|
1293
|
+
"properties": {
|
|
1294
|
+
"code": {
|
|
1295
|
+
"type": "string"
|
|
1296
|
+
},
|
|
1297
|
+
"message": {
|
|
1298
|
+
"type": "string"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"additionalProperties": false,
|
|
1302
|
+
"required": [
|
|
1303
|
+
"code",
|
|
1304
|
+
"message"
|
|
1305
|
+
]
|
|
1306
|
+
}
|
|
822
1307
|
}
|
|
1308
|
+
},
|
|
1309
|
+
"additionalProperties": false,
|
|
1310
|
+
"required": [
|
|
1311
|
+
"formatVersion",
|
|
1312
|
+
"at",
|
|
1313
|
+
"evaluatedRevision",
|
|
1314
|
+
"fragment",
|
|
1315
|
+
"source",
|
|
1316
|
+
"context",
|
|
1317
|
+
"dependencies",
|
|
1318
|
+
"diagnostics"
|
|
823
1319
|
],
|
|
824
1320
|
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
825
1321
|
},
|
|
@@ -828,12 +1324,39 @@
|
|
|
828
1324
|
{
|
|
829
1325
|
"anyOf": [
|
|
830
1326
|
{
|
|
831
|
-
"
|
|
1327
|
+
"anyOf": [
|
|
1328
|
+
{
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"type": "string",
|
|
1334
|
+
"minLength": 1
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
832
1337
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
833
1338
|
},
|
|
834
1339
|
{
|
|
835
|
-
"
|
|
836
|
-
|
|
1340
|
+
"anyOf": [
|
|
1341
|
+
{
|
|
1342
|
+
"anyOf": [
|
|
1343
|
+
{
|
|
1344
|
+
"type": "string",
|
|
1345
|
+
"description": "Search result handle."
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"type": "string",
|
|
1349
|
+
"description": "Reference handle from a previous search result."
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
"description": "Search result handle."
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"minLength": 1
|
|
1357
|
+
}
|
|
1358
|
+
],
|
|
1359
|
+
"description": "Search result handle."
|
|
837
1360
|
}
|
|
838
1361
|
],
|
|
839
1362
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
@@ -845,15 +1368,6 @@
|
|
|
845
1368
|
],
|
|
846
1369
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
847
1370
|
},
|
|
848
|
-
"placement": {
|
|
849
|
-
"enum": [
|
|
850
|
-
"before",
|
|
851
|
-
"after",
|
|
852
|
-
"insideStart",
|
|
853
|
-
"insideEnd"
|
|
854
|
-
],
|
|
855
|
-
"description": "Where to place content relative to target: 'before', 'after', 'insideStart', or 'insideEnd'. Only for action 'insert'. Omit for other actions."
|
|
856
|
-
},
|
|
857
1371
|
"content": {
|
|
858
1372
|
"anyOf": [
|
|
859
1373
|
{
|
|
@@ -871,56 +1385,97 @@
|
|
|
871
1385
|
"description": "Document fragment to insert (structured content)."
|
|
872
1386
|
},
|
|
873
1387
|
{
|
|
874
|
-
"
|
|
1388
|
+
"anyOf": [
|
|
875
1389
|
{
|
|
876
|
-
"
|
|
877
|
-
|
|
1390
|
+
"oneOf": [
|
|
1391
|
+
{
|
|
1392
|
+
"type": "object"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"type": "array",
|
|
1396
|
+
"items": {
|
|
1397
|
+
"type": "object"
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"description": "Document fragment to replace with (structured content)."
|
|
878
1402
|
},
|
|
879
1403
|
{
|
|
880
|
-
"
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
1404
|
+
"oneOf": [
|
|
1405
|
+
{
|
|
1406
|
+
"type": "object"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"type": "array",
|
|
1410
|
+
"items": {
|
|
1411
|
+
"type": "object"
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
],
|
|
1415
|
+
"description": "Document fragment that replaces the complete main body."
|
|
885
1416
|
}
|
|
886
|
-
]
|
|
1417
|
+
],
|
|
1418
|
+
"description": "Document fragment to replace with (structured content)."
|
|
887
1419
|
}
|
|
888
1420
|
],
|
|
889
1421
|
"description": "Document fragment to insert (structured content). Only for actions 'insert', 'replace'. Omit for other actions."
|
|
890
1422
|
},
|
|
891
1423
|
"nestingPolicy": {
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"properties": {
|
|
1426
|
+
"tables": {
|
|
1427
|
+
"enum": [
|
|
1428
|
+
"forbid",
|
|
1429
|
+
"allow"
|
|
1430
|
+
]
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
"additionalProperties": false,
|
|
1434
|
+
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
1435
|
+
},
|
|
1436
|
+
"replaceMode": {
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"enum": [
|
|
1439
|
+
"contents"
|
|
1440
|
+
],
|
|
1441
|
+
"description": "Replace supported paragraph contents while preserving its container. Requires direct mode. Only for action 'replace'. Omit for other actions."
|
|
1442
|
+
},
|
|
1443
|
+
"expectedSnapshotId": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"description": "Same-session snapshot of the unchanged paragraph required before contents replacement or restoration. Only for action 'replace'. Omit for other actions."
|
|
1446
|
+
},
|
|
1447
|
+
"text": {
|
|
892
1448
|
"anyOf": [
|
|
893
1449
|
{
|
|
894
|
-
"
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
1450
|
+
"anyOf": [
|
|
1451
|
+
{
|
|
1452
|
+
"anyOf": [
|
|
1453
|
+
{
|
|
1454
|
+
"type": "string"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"type": "string",
|
|
1458
|
+
"description": "Complete replacement text for the main body."
|
|
1459
|
+
}
|
|
900
1460
|
]
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"type": "string",
|
|
1464
|
+
"description": "Replacement text content."
|
|
901
1465
|
}
|
|
902
|
-
|
|
903
|
-
"additionalProperties": false,
|
|
904
|
-
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
1466
|
+
]
|
|
905
1467
|
},
|
|
906
1468
|
{
|
|
907
|
-
"type": "
|
|
908
|
-
"
|
|
909
|
-
"tables": {
|
|
910
|
-
"enum": [
|
|
911
|
-
"forbid",
|
|
912
|
-
"allow"
|
|
913
|
-
]
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
1469
|
+
"type": "string",
|
|
1470
|
+
"description": "Replacement text content."
|
|
917
1471
|
}
|
|
918
1472
|
],
|
|
919
|
-
"description": "
|
|
1473
|
+
"description": "Only for action 'replace'. Omit for other actions."
|
|
920
1474
|
},
|
|
921
|
-
"
|
|
1475
|
+
"snapshotId": {
|
|
922
1476
|
"type": "string",
|
|
923
|
-
"
|
|
1477
|
+
"minLength": 1,
|
|
1478
|
+
"description": "Only for action 'replace'. Omit for other actions."
|
|
924
1479
|
},
|
|
925
1480
|
"expectedText": {
|
|
926
1481
|
"type": "string",
|
|
@@ -1217,16 +1772,40 @@
|
|
|
1217
1772
|
"description": "Only for action 'check_support'. Omit for other actions."
|
|
1218
1773
|
},
|
|
1219
1774
|
"options": {
|
|
1220
|
-
"
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
|
|
1226
|
-
|
|
1775
|
+
"anyOf": [
|
|
1776
|
+
{
|
|
1777
|
+
"type": "object",
|
|
1778
|
+
"properties": {
|
|
1779
|
+
"changeMode": {
|
|
1780
|
+
"enum": [
|
|
1781
|
+
"direct",
|
|
1782
|
+
"tracked"
|
|
1783
|
+
]
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
"additionalProperties": false
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"type": "object",
|
|
1790
|
+
"properties": {
|
|
1791
|
+
"changeMode": {
|
|
1792
|
+
"enum": [
|
|
1793
|
+
"direct",
|
|
1794
|
+
"tracked"
|
|
1795
|
+
]
|
|
1796
|
+
},
|
|
1797
|
+
"replaceMode": {
|
|
1798
|
+
"const": "contents",
|
|
1799
|
+
"type": "string"
|
|
1800
|
+
},
|
|
1801
|
+
"expectedSnapshotId": {
|
|
1802
|
+
"type": "string",
|
|
1803
|
+
"minLength": 1
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
"additionalProperties": false
|
|
1227
1807
|
}
|
|
1228
|
-
|
|
1229
|
-
"additionalProperties": false,
|
|
1808
|
+
],
|
|
1230
1809
|
"description": "Only for action 'check_support'. Omit for other actions."
|
|
1231
1810
|
}
|
|
1232
1811
|
},
|